[]
        
(Showing Draft Content)

C1.Win.Input.Styles.ButtonBaseStyles

ButtonBaseStyles Class

The ButtonBaseStyles class represents the styles for the C1Button or C1SplitButton controls which contains display attributes that determine the appearance of controls.

Namespace: C1.Win.Input.Styles
Assembly: C1.Win.Input.8.dll
Syntax
public abstract class ButtonBaseStyles : FocusedBaseStyles, INotifyPropertyChanged, IDisposable

Constructors

Name Description
ButtonBaseStyles()

Initializes a new instance of the ButtonBaseStyles.

Properties

Name Description
Border

Gets or sets the thickness of the border around the element.

Default

Gets style containing display attributes that determine the general appearance of the element in the default state.

Disabled

Gets style containing display attributes that determine the general appearance of the disabled element on the screen.

Hot

Gets style containing display attributes that determine the general appearance of element on the screen when the cursor is over it.

HotPressed

Gets style containing display attributes that determine the general appearance of the pressed element on the screen when the cursor is over it.

Pressed

Gets style containing display attributes that determine the general appearance of the pressed element on the screen.

Methods

Name Description
ApplyToStyle(Style)

Applies style to destination Style object if it is possible.

ResetBorder()

Restores the default value of the Border property.

ResetDefault()

Restores the default value of the Default property.

ResetDisabled()

Restores the default value of the Disabled property.

ResetHot()

Restores the default value of the Hot property.

ResetHotPressed()

Restores the default value of the HotPressed property.

ResetPressed()

Restores the default value of the Pressed property.

ShouldSerializeBorder()

Specifies whether to save the value of the Border property.

ShouldSerializeDefault()

Specifies whether to save the value of the Default property.

ShouldSerializeDisabled()

Specifies whether to save the value of the Disabled property.

ShouldSerializeHot()

Specifies whether to save the value of the Hot property.

ShouldSerializeHotPressed()

Specifies whether to save the value of the HotPressed property.

ShouldSerializePressed()

Specifies whether to save the value of the Pressed property.