[]
The ButtonStyle class represents the button element style.
public class ButtonStyle : BaseC1FrameworkStyle, INotifyPropertyChanged, IDisposable
Name | Description |
---|---|
Border | Gets or sets the thickness of the border around the element. |
Corners | Gets or sets the radii of the element corners. |
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. |
Parent | Gets the parent collection. If some properties are reset or not initialized, the collection will search for them from the parent. |
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. |
ResetBorder() | Restores the default value of the Border property. |
ResetCorners() | Restores the default value of the Corners 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. |
ShouldSerializeCorners() | Specifies whether to save the value of the Corners 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. |