取得或設定按下 xbutton1 滑鼠按鈕時是否允許使用這個筆勢。
命名空間: Microsoft.Windows.Design.Interaction
組件: Microsoft.Windows.Design.Interaction (在 Microsoft.Windows.Design.Interaction.dll 中)
語法
'宣告
Public Property XButton1 As MouseButtonState
Get
Set
public MouseButtonState XButton1 { get; set; }
public:
property MouseButtonState XButton1 {
MouseButtonState get ();
void set (MouseButtonState value);
}
member XButton1 : MouseButtonState with get, set
function get XButton1 () : MouseButtonState
function set XButton1 (value : MouseButtonState)
屬性值
型別:System.Windows.Input.MouseButtonState
如果按下 xbutton1 滑鼠按鈕時允許使用這個筆勢,則會傳回 Pressed。預設會傳回 Pressed。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。
請參閱
參考
Microsoft.Windows.Design.Interaction 命名空間