[]
        
(Showing Draft Content)

C1.Win.Input.Styles.ToggleSwitchStyles

ToggleSwitchStyles Class

The ToggleSwitchStyles class represents the styles for the C1ToggleSwitch control which contains display attributes that determine the appearance of control.

Namespace: C1.Win.Input.Styles
Assembly: C1.Win.Input.8.dll
Syntax
public class ToggleSwitchStyles : InputStyles, INotifyPropertyChanged, IDisposable

Properties

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.

Methods

Name Description
ApplyToStyle(Style)

Applies style to destination 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.