Exporter (0) Imprimer
Développer tout
Key
M11
M12
M21
M22
Tag
Uri
X1
X2
Y1
Y2
Développer Réduire

Shift (MouseEventArgs)

Silverlight

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets a value that specifies whether the SHIFT key was down when a mouse event occurred.

value = eventargs.Shift

Type: Boolean

true if the SHIFT key was down when the event occurred; otherwise, false.

This property is read/write, but should be considered read-only because there is no reason to change the reported information. There is no default.

Get the value of Keyboard.Modifiers and check for Shift.

If the value of this property is true, there will also be a relevant keyboard event, which may not match the exact timing of the mouse event. This property reports the key state that existed when the mouse event occurred.

Ajouts de la communauté

AJOUTER
Afficher:
© 2014 Microsoft