Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.v24.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