点击或拖拽改变大小

ClickMode 枚举

ClickMode specifies when the Click event should fire

命名空间:  CPF.Controls
程序集:  CPF (在 CPF.dll 中) 版本:0.8.8.5
语法
C#
public enum ClickMode
成员
  成员名称说明
Release0 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.
Press1 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.
Hover2 Used to specify that the Click event should fire when the mouse hovers over a Button.
参见