แก้ไข

แชร์ผ่าน


Control.OnMouseDoubleClick(MouseButtonEventArgs) Method

Definition

Raises the MouseDoubleClick routed event.

protected:
 virtual void OnMouseDoubleClick(System::Windows::Input::MouseButtonEventArgs ^ e);
protected virtual void OnMouseDoubleClick (System.Windows.Input.MouseButtonEventArgs e);
abstract member OnMouseDoubleClick : System.Windows.Input.MouseButtonEventArgs -> unit
override this.OnMouseDoubleClick : System.Windows.Input.MouseButtonEventArgs -> unit
Protected Overridable Sub OnMouseDoubleClick (e As MouseButtonEventArgs)

Parameters

e
MouseButtonEventArgs

The event data.

Remarks

The control raises the MouseDoubleClick event by calling the RaiseEvent method. For more information, see Routed Events Overview.

Notes to Inheritors

When overriding OnMouseDoubleClick(MouseButtonEventArgs) in a derived class, be sure to call the base class' OnMouseDoubleClick(MouseButtonEventArgs) method so that registered delegates receive the event.

Applies to