ButtonSwitch类是一个按钮开关的控件类,常用如下表所示。

属性

属性名称

功能描述

Style

多种Switch复选功能

Value

Bool参数,Switch开关选择

事件

 

ValueChanged

默认事件,值改变事件

控件的显示效果如下图所示,使用的方法参见范例SeeSharpExamples/ Graphical User Interface/ButtonSwitchExample