ToggleButtonViewModel

external class ToggleButtonViewModel(var command: Command)(source)

A view model which exposes the properties of a toggle button.

See also

Constructors

Link copied to clipboard
constructor(command: Command)

Properties

Link copied to clipboard

The command which will be executed when the button is toggled.

Link copied to clipboard

Gets or sets whether the button is currently toggled. This property is observable.

Link copied to clipboard

Gets or sets the button's tooltip. This property is observable.