共用方式為


MouseWheelEventArgs.CtrlKeyPressed 屬性

定義

取得值,這個值表示是否按下 Ctrl 鍵。

public:
 property bool CtrlKeyPressed { bool get(); };
bool CtrlKeyPressed();
public bool CtrlKeyPressed { get; }
var boolean = mouseWheelEventArgs.ctrlKeyPressed;
Public ReadOnly Property CtrlKeyPressed As Boolean

屬性值

Boolean

bool

如果按下 Ctrl 鍵,則會傳回 true ;否則為 false

適用於