A view model which exposes the properties of a toggle button.
参数名称 | 类型 | 描述信息 | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
command |
Command | The command which will be executed when the button is toggled. | ||||||||||||
options |
object |
可选
Object with the following properties:
|
成员(属性)
Gets the command which will be executed when the button is toggled.
Gets or sets whether the button is currently toggled. This property is observable.
-
默认值:
false
Gets or sets the button's tooltip. This property is observable.
-
默认值:
''