Share via


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

Remarks

This method is called when the SelectedItem property changes.

.NET Framework Security

See Also

Reference

RibbonGallery Class

Microsoft.Windows.Controls.Ribbon Namespace