Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Raises the Selected attached event.
Namespace: Microsoft.Windows.Controls.Ribbon
Assembly: RibbonControlsLibrary (in RibbonControlsLibrary.dll)
Syntax
'Declaration
Protected Overridable Sub OnSelected ( _
e As RoutedEventArgs _
)
protected virtual void OnSelected(
RoutedEventArgs e
)
protected:
virtual void OnSelected(
RoutedEventArgs^ e
)
abstract OnSelected :
e:RoutedEventArgs -> unit
override OnSelected :
e:RoutedEventArgs -> unit
protected function OnSelected(
e : RoutedEventArgs
)
Parameters
- e
Type: System.Windows.RoutedEventArgs
The event data.
Remarks
This method is called when the 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.