|  | ThemeStyle Class | 
 Inheritance Hierarchy
Inheritance HierarchyNamespace: DigitalRune.Game.UI.Rendering
 Syntax
SyntaxThe ThemeStyle type exposes the following members.
 Constructors
Constructors| Name | Description | |
|---|---|---|
|  | ThemeStyle | 
            Initializes a new instance of the ThemeStyle class.
             | 
 Methods
Methods| Name | Description | |
|---|---|---|
|  | Equals | (Inherited from Object.) | 
|  | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) | 
|  | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | 
|  | GetType | Gets the Type of the current instance.(Inherited from Object.) | 
|  | MemberwiseClone | Creates a shallow copy of the current Object.(Inherited from Object.) | 
|  | ToString | Returns a string that represents the current object.(Inherited from Object.) | 
 Properties
Properties| Name | Description | |
|---|---|---|
|  | Attributes | 
            Gets the attributes that have been defined for this style.
             | 
|  | Inherits | 
            Gets or sets the style from which this style inherits settings.
             | 
|  | Name | 
            Gets or sets the name of the style.
             | 
|  | States | 
            Gets the visual states.
             | 
 Remarks
RemarksStyles define the properties and visual appearance of UI controls. Each style has a number of visual states (States). In each frame a control is in one visual state (see VisualState) and this state defines the current appearance.
A style can inherit from another style. For example, if a style "TextBlock" was already defined in the theme, then a "GreenTextBlock" can inherit from "TextBlock" and only needs to set the Foreground color property to green - all other properties are inherited from the parent style.
 See Also
See Also