Back to Devexpress

ToggleSwitch.Properties Property

windowsforms-devexpress-dot-xtraeditors-dot-toggleswitch-08ab3819.md

latest2.9 KB
Original Source

ToggleSwitch.Properties Property

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

Declaration

csharp
[DXCategory("Properties")]
[SmartTagSearchNestedProperties]
public RepositoryItemToggleSwitch Properties { get; }
vb
<DXCategory("Properties")>
<SmartTagSearchNestedProperties>
Public ReadOnly Property Properties As RepositoryItemToggleSwitch

Property Value

TypeDescription
RepositoryItemToggleSwitch

A RepositoryItemToggleSwitch object instance containing settings for the ToggleSwitch control.

|

Remarks

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

csharp
{
    get { return base.Properties as RepositoryItemCustomToggle; }
}

display-text-inside-toggle-switch-winforms/VB/WindowsFormsApplication1/CustomToggleSwitch.vb#L74

vb
Get
    Return TryCast(MyBase.Properties, RepositoryItemCustomToggle)
End Get

See Also

ToggleSwitch Class

ToggleSwitch Members

DevExpress.XtraEditors Namespace