共用方式為


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 ,會呼叫這個方法。

適用於