Ribbon.OnSelectionChanged 方法

SelectionChanged 事件提供类处理。

命名空间:  Microsoft.Windows.Controls.Ribbon
程序集:  RibbonControlsLibrary(在 RibbonControlsLibrary.dll 中)

语法

声明
Protected Overrides Sub OnSelectionChanged ( _
    e As SelectionChangedEventArgs _
)
protected override void OnSelectionChanged(
    SelectionChangedEventArgs e
)
protected:
virtual void OnSelectionChanged(
    SelectionChangedEventArgs^ e
) override
abstract OnSelectionChanged : 
        e:SelectionChangedEventArgs -> unit 
override OnSelectionChanged : 
        e:SelectionChangedEventArgs -> unit 
protected override function OnSelectionChanged(
    e : SelectionChangedEventArgs
)

参数

备注

此方法强制执行 Ribbon 中的单个选择。

.NET Framework 安全性

请参见

参考

Ribbon 类

Microsoft.Windows.Controls.Ribbon 命名空间