Click or drag to resize

StyleCollection Methods

The StyleCollection type exposes the following members.

Methods
 NameDescription
Public methodAdd Adds a Style instance to the StyleCollection.
Public methodContains(String) Determines whether the StyleCollection contains a Style instance with specific name.
Public methodContains(Style) Determines whether the StyleCollection contains a specific Style instance.
Public methodGetEnumerator Returns an enumerator that iterates through the StyleCollection.
Public methodGetOrAdd Gets the Style that corresponds to given StyleTemplateType.
Public methodCode exampleImport(Style) Imports (clones) the specified source style and adds into this StyleCollection.
Public methodCode exampleImport(Style, ImportSession) Imports (clones) the specified source style and adds into this StyleCollection.
Public methodIndexOf Determines the index of a specific Style instance in the StyleCollection.
Top
See Also