Share via


RibbonGalleryItem.OnMouseLeftButtonUp Method

Provides class handling for the MouseLeftButtonUp event.

Namespace:  Microsoft.Windows.Controls.Ribbon
Assembly:  RibbonControlsLibrary (in RibbonControlsLibrary.dll)

Syntax

'Declaration
Protected Overrides Sub OnMouseLeftButtonUp ( _
    e As MouseButtonEventArgs _
)
protected override void OnMouseLeftButtonUp(
    MouseButtonEventArgs e
)
protected:
virtual void OnMouseLeftButtonUp(
    MouseButtonEventArgs^ e
) override
abstract OnMouseLeftButtonUp : 
        e:MouseButtonEventArgs -> unit 
override OnMouseLeftButtonUp : 
        e:MouseButtonEventArgs -> unit 
protected override function OnMouseLeftButtonUp(
    e : MouseButtonEventArgs
)

Parameters

Remarks

This method sets the IsPressed property to false when the left mouse button is released over this control.

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

.NET Framework Security

See Also

Reference

RibbonGalleryItem Class

Microsoft.Windows.Controls.Ribbon Namespace