[]
        
(Showing Draft Content)

C1.Win.Input.Styles.ItemBaseStyle-1

ItemBaseStyle<T> Class

The ItemBaseStyle<T> class represents the base item element style.

Namespace: C1.Win.Input.Styles
Assembly: C1.Win.Input.8.dll
Syntax
public class ItemBaseStyle<T> : BaseC1FrameworkStyle, INotifyPropertyChanged, IDisposable where T : BaseC1FrameworkStyle, new()
Type Parameters
Name Description
T

State element type.

Properties

Name Description
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.

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.

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.