[]
The ItemBaseStyle<T> class represents the base item element style.
public class ItemBaseStyle<T> : BaseC1FrameworkStyle, INotifyPropertyChanged, IDisposable where T : BaseC1FrameworkStyle, new()
Name | Description |
---|---|
T | State element type. |
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. |
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. |