RibbonGalleryItem.OnSelected(RoutedEventArgs) 方法

定义

引发 Selected 路由事件。

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

事件数据。

注解

当 属性更改为 trueIsSelected,将调用此方法。

适用于