| Style | 
 Inheritance Hierarchy
Inheritance Hierarchy Syntax
SyntaxThe StyleCollection type exposes the following members.
 Properties
Properties| Name | Description | |
|---|---|---|
|  | Count | Gets the number of styles contained in the StyleCollection. | 
|  | ItemInt32 | Gets the style at the specified index. | 
|  | ItemString | Gets the style with the specified style name. | 
 Methods
Methods| Name | Description | |
|---|---|---|
|  | Add | Adds a Style instance to the StyleCollection. | 
|  | Contains(String) | Determines whether the StyleCollection contains a Style instance with specific name. | 
|  | Contains(Style) | Determines whether the StyleCollection contains a specific Style instance. | 
|  | GetEnumerator | Returns an enumerator that iterates through the StyleCollection. | 
|  | GetOrAdd | Gets the Style that corresponds to given StyleTemplateType. | 
|   | Import(Style) | Imports (clones) the specified source style and adds into this StyleCollection. | 
|   | Import(Style, ImportSession) | Imports (clones) the specified source style and adds into this StyleCollection. | 
|  | IndexOf | Determines the index of a specific Style instance in the StyleCollection. | 
 See Also
See Also