ToolGesture.LeftButton Property
Gets or sets whether this gesture is allowed to be performed while the left mouse button is pressed.
Namespace: Microsoft.Windows.Design.Interaction
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public Property LeftButton As MouseButtonState
'Usage
Dim instance As ToolGesture
Dim value As MouseButtonState
value = instance.LeftButton
instance.LeftButton = value
public MouseButtonState LeftButton { get; set; }
public:
property MouseButtonState LeftButton {
MouseButtonState get ();
void set (MouseButtonState value);
}
public function get LeftButton () : MouseButtonState
public function set LeftButton (value : MouseButtonState)
Property Value
Type: System.Windows.Input.MouseButtonState
Returns Pressed if this gesture is allowed to be performed while the left mouse button is pressed. The default returns Pressed.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Windows.Design.Interaction Namespace