Dela via


RibbonGalleryItem.OnSelected Method

Raises the Selected routed event.

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

Syntax

'Declaration
Protected Friend Overridable Sub OnSelected ( _
    e As RoutedEventArgs _
)
protected internal virtual void OnSelected(
    RoutedEventArgs e
)
protected public:
virtual void OnSelected(
    RoutedEventArgs^ e
)
abstract OnSelected : 
        e:RoutedEventArgs -> unit 
override OnSelected : 
        e:RoutedEventArgs -> unit 
 function OnSelected(
    e : RoutedEventArgs
)

Parameters

Remarks

This method is called when IsSelected property changes to true.

.NET Framework Security

See Also

Reference

RibbonGalleryItem Class

Microsoft.Windows.Controls.Ribbon Namespace