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

RepositoryItemToggleSwitch Class

Represents a repository item which stores settings specific to a ToggleSwitch control.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v19.2.dll

Declaration

[ToolboxBitmap(typeof(ToolboxIconsRootNS), "ToggleSwitch")]
public class RepositoryItemToggleSwitch :
    BaseRepositoryItemCheckEdit,
    ISupportAutoWidth,
    ISupportAutoHeight

The following members accept/return RepositoryItemToggleSwitch objects:

Remarks

The RepositoryItemToggleSwitch class provides properties, methods and events appropriate to ToggleSwitch controls. The editor's ToggleSwitch.Properties property can be used to access these settings.

Refer to the ToggleSwitch control description for details on the functionality available when using check editors.

You do not need to create repository items manually unless you have to create inplace editors for container controls (such as the XtraGrid).

See Also