ToolGesture.Modifiers Property
Gets or sets the modifier keys that are allowed to be pressed for this gesture.
Namespace: Microsoft.Windows.Design.Interaction
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public Property Modifiers As ModifierKeys
'Usage
Dim instance As ToolGesture
Dim value As ModifierKeys
value = instance.Modifiers
instance.Modifiers = value
public ModifierKeys Modifiers { get; set; }
public:
property ModifierKeys Modifiers {
ModifierKeys get ();
void set (ModifierKeys value);
}
public function get Modifiers () : ModifierKeys
public function set Modifiers (value : ModifierKeys)
Property Value
Type: System.Windows.Input.ModifierKeys
Returns the modifier keys that are allowed to be pressed for this gesture. The default returns the combination of all modifier keys.
.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