[]
Summary description for Styles.
public sealed class StyleSheet : IList, ICollection, IEnumerable
| Name | Description |
|---|---|
| Count | Gets the number of elements contained in the ICollection. |
| IsFixedSize | Gets a value indicating whether the IList has a fixed size. |
| IsReadOnly | Gets a value indicating whether the IList is read-only. |
| IsSynchronized | Gets a value indicating whether access to the ICollection is synchronized (thread safe). |
| this[int] | Gets the StyleSheet object at the specified indexed location in the StyleSheetCollection. |
| this[string] | Gets the StyleSheet object with the specified name in the StyleSheetCollection. |
| SyncRoot | Gets an object that can be used to synchronize access to the ICollection. |
| Name | Description |
|---|---|
| Add(StyleSheetRule) | Adds the specified Style object to the collection. |
| Add(string) | Adds a new Style object with the specified name to the collection. |
| Add(string, string) | Adds a new Style object to the collection and sets its parent style to the specified parent Style. |
| Clear() | Removes all items from the IList. |
| Contains(object) | Determines whether the IList contains a specific value. |
| CopyTo(Array, int) | Copies the elements of the ICollection to an Array, starting at a particular Array index. |
| GetEnumerator() | Returns an enumerator that iterates through a collection. |
| IndexOf(object) | Determines the index of a specific item in the IList. |
| Insert(int, object) | Inserts an item to the IList at the specified index. |
| Remove(int) | Removes the Style object at the specified index. |
| Remove(string) | Removes the Style object with the specified name. |
| RemoveAt(int) | Removes the IList item at the specified index. |
| Name | Description |
|---|---|
| Changed | Occurs when the members of the StyleSheet have changed. |