編輯

共用方式為


KeyboardValueKey.Shift(Boolean) Method

Definition

Called by the Keyboard when the shift key is pressed. Updates the text for this key using the Value and ShiftValue fields.

public:
 void Shift(bool isShifted);
public void Shift (bool isShifted);
member this.Shift : bool -> unit
Public Sub Shift (isShifted As Boolean)

Parameters

isShifted
Boolean

Indicates the state of shift, the key needs to be changed to.

Applies to