[]
Summary description for StyleSheet.
public class StyleSheet : IDisposable, IList, ICollection, IEnumerable
Name | Description |
---|---|
StyleSheet() | Initializes a new instance of the StyleSheet class. |
StyleSheet(bool) | Initializes a new instance of the StyleSheet class. |
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 or sets the element at the specified index. |
SyncRoot | Gets an object that can be used to synchronize access to the ICollection. |
Name | Description |
---|---|
Add(object) | Adds an item to the IList. |
Add(string, string) | Creates a StyleSheetRule object from the specified information. |
Add(string, string, string) | Creates a StyleSheetRule object from the specified information. |
Clear() | Removes all rules in this stylesheet. |
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. |
Dispose() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
Dispose(bool) | Releases unmanaged and - optionally - managed resources. |
GetEnumerator() | Returns an enumerator that iterates through a collection. |
GetRuleByClassName(string) | Returns the rule with the specified class name. If the rule is not in this stylesheet, Normal stylesheet will be returned as default |
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(object) | Removes the first occurrence of a specific object from the IList. |
RemoveAt(int) | Removes the IList item at the specified index. |
RemoveRule(string) | Removes the rule with the specified classname from this stylesheet. |