A newer version of this page is available. Switch to the current version.

ToggleSwitchEdit.Command Property

Gets or sets the command to invoke when the editor's state is changed. This is a dependency property.

Namespace: DevExpress.Xpf.Editors

Assembly: DevExpress.Xpf.Core.v19.2.dll

Declaration

public ICommand Command { get; set; }

Property Value

Type Description
ICommand

The command to invoke when the editor's state is changed.

Remarks

When invoking the toggle switch editor's functionality, the command is executed first. Then, the ToggleSwitchEdit.Checked or ToggleSwitchEdit.Unchecked event fires.

See Also