Udostępnij za pośrednictwem


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

See Also

Reference

ToolGesture Class

ToolGesture Members

Microsoft.Windows.Design.Interaction Namespace

Other Resources

Understanding WPF Designer Extensibility