windowsforms-devexpress-dot-xtraeditors-dot-toggleswitch-08ab3819.md
Gets an object containing properties, methods and events specific to the ToggleSwitch control.
Namespace : DevExpress.XtraEditors
Assembly : DevExpress.XtraEditors.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[DXCategory("Properties")]
[SmartTagSearchNestedProperties]
public RepositoryItemToggleSwitch Properties { get; }
<DXCategory("Properties")>
<SmartTagSearchNestedProperties>
Public ReadOnly Property Properties As RepositoryItemToggleSwitch
| Type | Description |
|---|---|
| RepositoryItemToggleSwitch |
A RepositoryItemToggleSwitch object instance containing settings for the ToggleSwitch control.
|
See RepositoryItemToggleSwitch to learn more.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Properties property.
Note
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.
display-text-inside-toggle-switch-winforms/CS/WindowsFormsApplication1/CustomToggleSwitch.cs#L75
{
get { return base.Properties as RepositoryItemCustomToggle; }
}
display-text-inside-toggle-switch-winforms/VB/WindowsFormsApplication1/CustomToggleSwitch.vb#L74
Get
Return TryCast(MyBase.Properties, RepositoryItemCustomToggle)
End Get
See Also