Skip to main content
A newer version of this page is available. .

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.v20.2.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Core, DevExpress.Wpf.Core

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