ModifierKeysConverter.IsDefinedModifierKeys(ModifierKeys) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.