KeyGesture.Modifiers Property
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.
Gets the modifier keys associated with this KeyGesture.
public:
property System::Windows::Input::ModifierKeys Modifiers { System::Windows::Input::ModifierKeys get(); };
public System.Windows.Input.ModifierKeys Modifiers { get; }
member this.Modifiers : System.Windows.Input.ModifierKeys
Public ReadOnly Property Modifiers As ModifierKeys
Property Value
The modifier keys associated with the gesture. The default value is None.
Remarks
In most cases, a KeyGesture must be associated with one or more ModifierKeys. The exceptions to this rule are the function keys and the numeric keypad keys, which can be a valid KeyGesture by themselves. For example, you can create a KeyGesture by using only the F12 key, but to use the X key in a KeyGesture it must be paired with a modifier key.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om