Share via


RibbonTab.OnSelected Method

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

Remarks

This method is called when the IsSelected property changes to true.

.NET Framework Security

See Also

Reference

RibbonTab Class

Microsoft.Windows.Controls.Ribbon Namespace