แก้ไข

แชร์ผ่าน


RibbonGalleryItem.OnMouseLeave(MouseEventArgs) Method

Definition

Provides class handling for the MouseLeave routed event.

protected:
 override void OnMouseLeave(System::Windows::Input::MouseEventArgs ^ e);
protected override void OnMouseLeave (System.Windows.Input.MouseEventArgs e);
override this.OnMouseLeave : System.Windows.Input.MouseEventArgs -> unit
Protected Overrides Sub OnMouseLeave (e As MouseEventArgs)

Parameters

e
MouseEventArgs

The event data.

Remarks

This method sets the IsHighlighted and IsPressed properties to false when the mouse pointer leaves this control.

This implementation marks the MouseLeave event as handled by setting the Handled property of the event data to true.

Applies to