Name | Description | |
---|---|---|
C1Theme Constructor | Initializes a new instance of the C1Theme class. |
The following tables list the members exposed by C1Theme.
Name | Description | |
---|---|---|
C1Theme Constructor | Initializes a new instance of the C1Theme class. |
Name | Description | |
---|---|---|
Attrs | Overridden. Gets the theme attributes. | |
FormatVersion | ||
Icon | Gets or sets the theme icon. | |
OriginalThemeVersion | Gets an original theme version that was defined in loaded xml. | |
Template | For internal use. Gets an internal theme template. | |
ThemeVersion |
Name | Description | |
---|---|---|
ApplyThemeToControlTree | Recursively applies a theme to a control and its children. Controls that do not support themes are ignored (but the theme is applied to their children). | |
ApplyThemeToObject | Applies a theme to an object.
The target object must be either a C1 control supporting themes, or a standard control (such as Button, Label etc) for which basic theming is provided by this library. | |
AssignAttrsFrom | Overridden. | |
AssignFrom | Overridden. Loads the current theme from a ThemeItem. | |
GetBlend | Gets a System.Drawing.Drawing2D.Blend specified by a path. | |
GetBool | Overloaded. Gets a boolean value specified by a path. | |
GetColor | Overloaded. Gets a System.Drawing.Color value specified by a path. | |
GetColorBlend | Gets a System.Drawing.Drawing2D.ColorBlend specified by a path. | |
GetDouble | Gets a double value specified by a path. | |
GetEnum | Overloaded. Gets an enumeration value specified by a path. | |
GetEnumStr | Gets a string representation of an enumeration value specified by a path. | |
GetFont | Overloaded. Gets a System.Drawing.Font specified by a path. | |
GetImage | Overloaded. Gets an image specified by a path. | |
GetInt | Overloaded. Gets an integer value specified by a path. | |
GetMergedFont | Gets a System.Drawing.Font obtained by the merging of the default font and font specified by a path. | |
GetPoint | Gets a System.Drawing.Point specified by a path. | |
GetString | Gets a string specified by a path. | |
GetThemeName | Overloaded. Retrieves the name of a theme stored in a stream. This method assumes that stream contains theme in C1ThemeFormat.Xml format. | |
GetThickness | Gets a System.Windows.Forms.Padding specified by a path. | |
GetUsedFonts | Retrieves names of all fonts used in the current theme. | |
HasValue | Tests whether a path specifies a value.
Note that a path may be empty (i.e. IsEmpty returns true) and still specify a value via a reference on one of its parents (i.e. this method will return true). | |
IsEmpty | ||
IsTreeEmpty | Overloaded. Recursively checks whether the specified path including all its children contain neither values nor references. | |
Load | Overloaded. Loads the current theme from a stream. This method assumes that stream contains theme in C1ThemeFormat.Xml format. | |
Save | Overloaded. Saves the current theme to a stream. This method saves theme in the C1ThemeFormat.Xml format. |