ComponentOne Themes for WinForms
C1Theme Class Members
Properties  Methods 

C1.Win.C1Themes.4 Assembly > C1.Win.C1Themes Namespace : C1Theme Class

The following tables list the members exposed by C1Theme.

Public Constructors
 NameDescription
Public ConstructorInitializes a new instance of the C1Theme class.  
Top
Public Properties
 NameDescription
Public PropertyOverridden. Gets the theme attributes.  
Public Propertystatic (Shared in Visual Basic)  
Public PropertyGets or sets the theme icon.  
Public PropertyGets an original theme version that was defined in loaded xml.  
Public Propertystatic (Shared in Visual Basic)For internal use. Gets an internal theme template.  
Public Propertystatic (Shared in Visual Basic)  
Top
Public Methods
 NameDescription
Public MethodRecursively 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).  
Public MethodApplies 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.

 
Public MethodOverridden.   
Public MethodOverridden. Loads the current theme from a ThemeItem.  
Public MethodGets a System.Drawing.Drawing2D.Blend specified by a path.  
Public MethodOverloaded. Gets a boolean value specified by a path.  
Public MethodOverloaded. Gets a System.Drawing.Color value specified by a path.  
Public MethodGets a System.Drawing.Drawing2D.ColorBlend specified by a path.  
Public MethodGets a double value specified by a path.  
Public MethodOverloaded. Gets an enumeration value specified by a path.  
Public MethodGets a string representation of an enumeration value specified by a path.  
Public MethodOverloaded. Gets a System.Drawing.Font specified by a path.  
Public MethodOverloaded. Gets an image specified by a path.  
Public MethodOverloaded. Gets an integer value specified by a path.  
Public MethodGets a System.Drawing.Font obtained by the merging of the default font and font specified by a path.  
Public MethodGets a System.Drawing.Point specified by a path.  
Public MethodGets a string specified by a path.  
Public Methodstatic (Shared in Visual Basic)Overloaded. Retrieves the name of a theme stored in a stream. This method assumes that stream contains theme in C1ThemeFormat.Xml format.  
Public MethodGets a System.Windows.Forms.Padding specified by a path.  
Public MethodRetrieves names of all fonts used in the current theme.  
Public MethodTests 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).

 
Public Method  
Public MethodOverloaded. Recursively checks whether the specified path including all its children contain neither values nor references.  
Public MethodOverloaded. Loads the current theme from a stream. This method assumes that stream contains theme in C1ThemeFormat.Xml format.  
Public MethodOverloaded. Saves the current theme to a stream. This method saves theme in the C1ThemeFormat.Xml format.  
Top
See Also

Reference

C1Theme Class
C1.Win.C1Themes Namespace