[]
The base SwitchBaseStyle<T> class represents the style for elements of the C1ToggleSwitch control.
public class SwitchBaseStyle<T> : BaseC1FrameworkStyle, INotifyPropertyChanged, IDisposable where T : BaseC1FrameworkStyle, new()
Name | Description |
---|---|
T |
Name | Description |
---|---|
Border | Gets or sets the thickness of the border around the element. |
OffState | Gets the style containing display attributes that determine the general appearance of the element in the Off state. |
OnState | Gets the style containing display attributes that determine the general appearance of the element in the On state. |
Rounded | Gets or sets a value indicating whether the element is rounded or not. |
Name | Description |
---|---|
ResetBorder() | Restores the default value of the Border property. |
ResetOffState() | Restores the default value of the OffState property. |
ResetOnState() | Restores the default value of the OnState property. |
ResetRounded() | Restores the default value of the Rounded property. |
ShouldSerializeBorder() | Specifies whether to save the value of the Border property. |
ShouldSerializeOffState() | Specifies whether to save the value of the OffState property. |
ShouldSerializeOnState() | Specifies whether to save the value of the OnState property. |
ShouldSerializeRounded() | Specifies whether to save the value of the Rounded property. |