Share via


ToolGesture.XButton2 Property

Gets or sets whether this gesture is allowed to be performed while the xbutton2 mouse button is pressed.

Namespace:  Microsoft.Windows.Design.Interaction
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

'Declaration
Public Property XButton2 As MouseButtonState
    Get
    Set
public MouseButtonState XButton2 { get; set; }
public:
property MouseButtonState XButton2 {
    MouseButtonState get ();
    void set (MouseButtonState value);
}
member XButton2 : MouseButtonState with get, set
function get XButton2 () : MouseButtonState
function set XButton2 (value : MouseButtonState)

Property Value

Type: System.Windows.Input.MouseButtonState
Returns Pressed if this gesture is allowed to be performed while the xbutton2 mouse button is pressed. The default returns Pressed.

.NET Framework Security

See Also

Reference

ToolGesture Class

Microsoft.Windows.Design.Interaction Namespace

Other Resources

Understanding WPF Designer Extensibility