Name | Description | |
---|---|---|
StyleInfoCollection Constructor | Creates a custom style collection (NamedStyleCollection object). |
The following tables list the members exposed by StyleInfoCollection.
Name | Description | |
---|---|---|
StyleInfoCollection Constructor | Creates a custom style collection (NamedStyleCollection object). |
Name | Description | |
---|---|---|
Count | Gets the number of styles (StyleInfo objects) in the collection. | |
IsFixedSize | Gets a value that indicates whether the collection has a fixed size (this implementation always returns false). | |
IsReadOnly | Gets a value that indicates whether the collection is read-only (this implementation always returns false). | |
IsSynchronized | Gets a value that indicates whether access to the collection is synchronized (this implementation always returns false). | |
Item | Gets or sets the style (StyleInfo object) at the specified index in the collection. |
Name | Description | |
---|---|---|
Add | Overloaded. Adds a style (StyleInfo object) to the collection. | |
AddRange | Overloaded. Adds an array of styles (StyleInfo object) to the collection. | |
Clear | Removes all named styles from the collection. | |
Contains | Determines whether the collection contains the specified style (StyleInfo object). | |
CopyTo | Overloaded. Copies the styles in the collection to a specified array at a specified position. | |
Find | Finds a style StyleInfo object in the collection with the specified name. | |
GetEnumerator | Gets an IEnumerator object for enumerating through the StyleInfo objects in the collection. | |
IndexOf | Returns the index of the specified style in the collection. | |
Insert | Inserts a style into the collection at the specified index. | |
Remove | Removes the specified named style from the collection. | |
RemoveAt | Removes a named style (StyleInfo object) from the collection at the specified index. |