[]
The ToggleSwitchStyles class represents the styles for the C1ToggleSwitch control which contains display attributes that determine the appearance of control.
public class ToggleSwitchStyles : InputStyles
| Name | Description |
|---|---|
| Bar | Gets the style containing display attributes that determine the general appearance of the Bar element. |
| Default | Gets the style containing display attributes that determine the general appearance of the element in the default state. |
| Disabled | Gets the style containing display attributes that determine the general appearance of the disabled element on the screen. |
| Thumb | Gets the style containing display attributes that determine the general appearance of the Thumb element. |
| Name | Description |
|---|---|
| ApplyToStyle(Style) | Applies style to destination C1.Framework.Style object if it is possible. |
| ResetBar() | Restores the default value of the Bar property. |
| ResetDefault() | Restores the default value of the Default property. |
| ResetDisabled() | Restores the default value of the Disabled property. |
| ResetThumb() | Restores the default value of the Thumb property. |
| ShouldSerializeBar() | Specifies whether to save the value of the Bar property. |
| ShouldSerializeDefault() | Specifies whether to save the value of the Default property. |
| ShouldSerializeDisabled() | Specifies whether to save the value of the Disabled property. |
| ShouldSerializeThumb() | Specifies whether to save the value of the Thumb property. |