'Declaration Public Event IconClick As IconClickEventHandler
public event IconClickEventHandler IconClick
Event Data
The event handler receives an argument of type IconClickEventArgs containing data related to this event. The following IconClickEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Button | Gets which mouse button was clicked on the icon. |
Clicks | Gets the number of times the mouse button was clicked. |
Control | Gets the control that has an associated error. |
Error | Gets the error description text. |
Location | Gets the location of the mouse (in screen coordinates) during the generating event. |
X | Gets the x-coordinate of the mouse during the generating event. |
Y | Gets the y-coordinate of the mouse during the generating event. |
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also