Share via


RibbonContextualTabGroup.OnMouseDown Method

Provides class handling for the MouseDown routed event.

Namespace:  Microsoft.Windows.Controls.Ribbon
Assembly:  RibbonControlsLibrary (in RibbonControlsLibrary.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

Remarks

This method captures the mouse when a single-click occurs on the contextual tab group. It minimizes or maximizes the window when a double-click occurs.

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

.NET Framework Security

See Also

Reference

RibbonContextualTabGroup Class

Microsoft.Windows.Controls.Ribbon Namespace