Skip to main content

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

NuGet Package: 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