Visual Basic (Declaration) | |
---|---|
Public Event QueryCursor As QueryCursorEventHandler |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As K2Grid Dim handler As QueryCursorEventHandler AddHandler instance.QueryCursor, handler |
C# | |
---|---|
public event QueryCursorEventHandler QueryCursor |
C++/CLI | |
---|---|
public: event QueryCursorEventHandler^ QueryCursor |
The event handler receives an argument of type QueryCursorEventArgs containing data related to this event. The following QueryCursorEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Cursor | Gets or sets the cursor associated with this event. |
Device (Inherited from System.Windows.Input.InputEventArgs) | |
Handled (Inherited from System.Windows.RoutedEventArgs) | |
LeftButton (Inherited from System.Windows.Input.MouseEventArgs) | |
MiddleButton (Inherited from System.Windows.Input.MouseEventArgs) | |
MouseDevice (Inherited from System.Windows.Input.MouseEventArgs) | |
OriginalSource (Inherited from System.Windows.RoutedEventArgs) | |
RightButton (Inherited from System.Windows.Input.MouseEventArgs) | |
RoutedEvent (Inherited from System.Windows.RoutedEventArgs) | |
Source (Inherited from System.Windows.RoutedEventArgs) | |
StylusDevice (Inherited from System.Windows.Input.MouseEventArgs) | |
Timestamp (Inherited from System.Windows.Input.InputEventArgs) | |
XButton1 (Inherited from System.Windows.Input.MouseEventArgs) | |
XButton2 (Inherited from System.Windows.Input.MouseEventArgs) |
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