Visual Basic (Declaration) | |
---|---|
Public Event MouseDoubleClick As MouseButtonEventHandler |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As AnnContainer Dim handler As MouseButtonEventHandler AddHandler instance.MouseDoubleClick, handler |
C# | |
---|---|
public event MouseButtonEventHandler MouseDoubleClick |
C++/CLI | |
---|---|
public: event MouseButtonEventHandler^ MouseDoubleClick |
The event handler receives an argument of type MouseButtonEventArgs containing data related to this event. The following MouseButtonEventArgs properties provide information specific to this event.
Property | Description |
---|---|
ButtonState | |
ChangedButton | |
ClickCount | |
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: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)