ClickMode specifies when the Click event should fire
命名空间:
CPF.Controls
程序集:
CPF (在 CPF.dll 中) 版本:0.8.8.5
语法 成员
| 成员名称 | 值 | 说明 |
---|
| Release | 0 |
Used to specify that the Click event will fire on the
normal down->up semantics of Button interaction.
Escaping mechanisms work, too. Capture is taken by the
Button while it is down and released after the
Click is fired.
|
| Press | 1 |
Used to specify that the Click event should fire on the
down of the Button. Basically, Click will fire as
soon as the IsPressed property on Button becomes true.
Even if the mouse is held down on the Button, capture
is not taken.
|
| Hover | 2 |
Used to specify that the Click event should fire when the
mouse hovers over a Button.
|
参见