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
- e
Type: System.Windows.Controls.SelectionChangedEventArgs
The event data.
Remarks
This method enforces single-selection in the Ribbon.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.