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
- e
Type: System.Windows.RoutedEventArgs
The event data.
Remarks
This method is called when IsSelected property changes to true.
.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.