Rediger

Del via


ModifierKeysConverter.IsDefinedModifierKeys(ModifierKeys) Method

Definition

Determines whether the specified value is a valid ModifierKeys value.

public:
 static bool IsDefinedModifierKeys(System::Windows::Input::ModifierKeys modifierKeys);
public static bool IsDefinedModifierKeys (System.Windows.Input.ModifierKeys modifierKeys);
static member IsDefinedModifierKeys : System.Windows.Input.ModifierKeys -> bool
Public Shared Function IsDefinedModifierKeys (modifierKeys As ModifierKeys) As Boolean

Parameters

modifierKeys
ModifierKeys

The value to check for validity.

Returns

true if input is a valid ModifierKeys value; otherwise, false.

Applies to