共用方式為


RibbonGallery.OnSelectionChanged 方法

定義

引發 SelectionChanged 事件。

protected:
 virtual void OnSelectionChanged(System::Windows::RoutedPropertyChangedEventArgs<System::Object ^> ^ e);
protected virtual void OnSelectionChanged (System.Windows.RoutedPropertyChangedEventArgs<object> e);
abstract member OnSelectionChanged : System.Windows.RoutedPropertyChangedEventArgs<obj> -> unit
override this.OnSelectionChanged : System.Windows.RoutedPropertyChangedEventArgs<obj> -> unit
Protected Overridable Sub OnSelectionChanged (e As RoutedPropertyChangedEventArgs(Of Object))

參數

備註

當屬性變更時, SelectedItem 會呼叫這個方法。

適用於