RibbonGallery.OnSelectionChanged Method
Raises the SelectionChanged event.
Namespace: Microsoft.Windows.Controls.Ribbon
Assembly: RibbonControlsLibrary (in RibbonControlsLibrary.dll)
Syntax
'Declaration
Protected Overridable Sub OnSelectionChanged ( _
e As RoutedPropertyChangedEventArgs(Of Object) _
)
protected virtual void OnSelectionChanged(
RoutedPropertyChangedEventArgs<Object> e
)
protected:
virtual void OnSelectionChanged(
RoutedPropertyChangedEventArgs<Object^>^ e
)
abstract OnSelectionChanged :
e:RoutedPropertyChangedEventArgs<Object> -> unit
override OnSelectionChanged :
e:RoutedPropertyChangedEventArgs<Object> -> unit
protected function OnSelectionChanged(
e : RoutedPropertyChangedEventArgs<Object>
)
Parameters
- e
Type: System.Windows.RoutedPropertyChangedEventArgs<Object>
The event data.
Remarks
This method is called when the SelectedItem property changes.
.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.