共用方式為


SelectionCommands.Clear 屬性

取得 RoutedCommand,其表示清除現有選取範圍的要求。

命名空間:  Microsoft.Windows.Design.Interaction
組件:  Microsoft.Windows.Design.Interaction (在 Microsoft.Windows.Design.Interaction.dll 中)

語法

'宣告
Public Shared ReadOnly Property Clear As RoutedCommand
    Get
public static RoutedCommand Clear { get; }
public:
static property RoutedCommand^ Clear {
    RoutedCommand^ get ();
}
static member Clear : RoutedCommand
static function get Clear () : RoutedCommand

屬性值

型別:System.Windows.Input.RoutedCommand
要求清除現有的選取範圍。

.NET Framework 安全性

請參閱

參考

SelectionCommands 類別

Microsoft.Windows.Design.Interaction 命名空間

Selection

SelectionOperations

SelectionTool

EditingContext

CanExecute

Execute

其他資源

WPF 設計工具擴充性架構