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
Get
Set
public ModifierKeys Modifiers { get; set; }
public:
property ModifierKeys Modifiers {
ModifierKeys get ();
void set (ModifierKeys value);
}
member Modifiers : ModifierKeys with get, set
function get Modifiers () : ModifierKeys
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