Share via


Ribbon.OnSelectionChanged Method

Provides class handling for the SelectionChanged event.

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

Syntax

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

Parameters

Remarks

This method enforces single-selection in the Ribbon.

.NET Framework Security

See Also

Reference

Ribbon Class

Microsoft.Windows.Controls.Ribbon Namespace