EditModeSwitchButton.OnMouseDown Method
Raises the MouseDown event.
Namespace: Microsoft.Windows.Design.PropertyEditing
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Protected Overrides Sub OnMouseDown ( _
e As MouseButtonEventArgs _
)
protected override void OnMouseDown(
MouseButtonEventArgs e
)
protected:
virtual void OnMouseDown(
MouseButtonEventArgs^ e
) override
abstract OnMouseDown :
e:MouseButtonEventArgs -> unit
override OnMouseDown :
e:MouseButtonEventArgs -> unit
protected override function OnMouseDown(
e : MouseButtonEventArgs
)
Parameters
- e
Type: System.Windows.Input.MouseButtonEventArgs
A MouseButtonEventArgs that contains the event data.
Remarks
Because of the nature of the popup editor capturing the mouse and disappearing when the user clicks outside of it, to pin an ExtendedEditor, the MouseDown event is used instead of the Click event.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Windows.Design.PropertyEditing Namespace