Delen via


ToolGesture.RightButton Property

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

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

Syntax

'Declaration
Public Property RightButton As MouseButtonState
'Usage
Dim instance As ToolGesture 
Dim value As MouseButtonState 

value = instance.RightButton

instance.RightButton = value
public MouseButtonState RightButton { get; set; }
public:
property MouseButtonState RightButton {
    MouseButtonState get ();
    void set (MouseButtonState value);
}
public function get RightButton () : MouseButtonState 
public function set RightButton (value : MouseButtonState)

Property Value

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

.NET Framework Security

See Also

Reference

ToolGesture Class

ToolGesture Members

Microsoft.Windows.Design.Interaction Namespace

Other Resources

Understanding WPF Designer Extensibility