[]
Base style.
[TypeConverter(typeof(ExpandableObjectConverter))]
public abstract class BaseStyle : StyledPropertyCollection, INotifyPropertyChanged, IDisposable
| Name | Description |
|---|---|
| BaseStyle() | Initializes a new instance of the BaseStyle. |
| BaseStyle(BaseThemeProvider, string, params StyledPropertyInfo[]) | Initializes a new instance of the BaseStyle. |
| BaseStyle(string, params StyledPropertyInfo[]) | Initializes a new instance of the BaseStyle. |
| Name | Description |
|---|---|
| DefaultStyle | Gets a style that contains the default values for current style. |
| IsDefault | Gets value indicating whether the style is default. |
| Root | Gets or sets the root directory in C1Theme. |
| ThemeProvider | Gets theme provider of the current theme. |
| Name | Description |
|---|---|
| ApplyTheme(object) | Applies a new C1Theme to a style |
| Clone() | Creates an instance of the BaseStyle class that is identical to the current BaseStyle |
| Copy(BaseStyle) | Copies properties of the specified style of the same type. |
| IsDefaultProperty(string) | Returns value indicating whether the specified property is default. |
| OnGetUninitializedProperty(string) | Called when trying to get an initialized property value. |
| OnOwnerChanged() | Called when collection owner is changed. |
| Reset() | Resets style to it default value according to the applied theme. |
| ResetProperty(string) | Reset specified property to its default value. |
| ResetProperty(string, object) | Reset specified property to its default value. |
| SetFont(Font) | Sets font property of the style. |
| ToString() | Returns the string that represents the current object. |