Share via


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

See Also

Reference

ToolGesture Class

Microsoft.Windows.Design.Interaction Namespace

Other Resources

Understanding WPF Designer Extensibility