Represents a toggle switch editor.
NuGet Package: DevExpress.Wpf.Core
public class ToggleSwitchEdit : BaseEdit, ICommandSource, ITextExportSettings, IExportSettings
Public Class ToggleSwitchEdit Inherits BaseEdit Implements ICommandSource, ITextExportSettings, IExportSettings
ToggleSwitchEdit control is designed to be used in templates (for example, in the GridControl‘s CellTemplate), and it uses the ToggleSwitch control inside. You can also use the
ToggleSwitchEdit control as a standalone control.
The ToggleSwitch control is designed to be used in standalone mode.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ToggleSwitchEdit class.
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.