共用方式為


ToolGesture.Modifiers 屬性

取得或設定可以搭配這個筆勢按下的輔助按鍵。

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

語法

'宣告
Public Property Modifiers As ModifierKeys
    Get
    Set
public ModifierKeys Modifiers { get; set; }
public:
property ModifierKeys Modifiers {
    ModifierKeys get ();
    void set (ModifierKeys value);
}
member Modifiers : ModifierKeys with get, set
function get Modifiers () : ModifierKeys
function set Modifiers (value : ModifierKeys)

屬性值

型別:System.Windows.Input.ModifierKeys
傳回可以搭配這個筆勢按下的輔助按鍵。預設為傳回所有輔助按鍵的組合。

.NET Framework 安全性

請參閱

參考

ToolGesture 類別

Microsoft.Windows.Design.Interaction 命名空間

其他資源

了解 WPF 設計工具擴充性