RibbonGalleryItem.OnSelected(RoutedEventArgs) 方法

定义

引发 Selected 路由事件。Raises the Selected routed event.

protected public:
 virtual void OnSelected(System::Windows::RoutedEventArgs ^ e);
protected internal virtual void OnSelected (System.Windows.RoutedEventArgs e);
abstract member OnSelected : System.Windows.RoutedEventArgs -> unit
override this.OnSelected : System.Windows.RoutedEventArgs -> unit
Protected Friend Overridable Sub OnSelected (e As RoutedEventArgs)

参数

e
RoutedEventArgs

事件数据。The event data.

注解

当属性更改为时,将调用此方法 IsSelected trueThis method is called when IsSelected property changes to true.

适用于