Name | Description | |
---|---|---|
NamedStyleCollection Constructor | Overloaded. |
The following tables list the members exposed by NamedStyleCollection.
Name | Description | |
---|---|---|
NamedStyleCollection Constructor | Overloaded. |
Name | Description | |
---|---|---|
DefaultStyles | Represents the read-only collection of default styles. |
Name | Description | |
---|---|---|
CanSerializeXml | Gets whether the object in its entirety can be rendered with XML without losing any information. | |
Count | Gets the number of styles (NamedStyle objects) in the collection. | |
IsFixedSize | Gets whether the collection has a fixed size. (This implementation always returns false.) | |
IsReadOnly | Gets whether the collection is read-only. (This implementation always returns false.) | |
IsSynchronized | Gets whether access to the collection is synchronized. (This implementation always returns false.) | |
Item | Gets or sets the style (NamedStyle object) at the specified index in the collection. | |
SyncRoot | Gets a collection (NamedStyleCollection object) that can be used to synchronize access. |
Name | Description | |
---|---|---|
Add | Overloaded. Adds a style (NamedStyle object) to the collection. | |
AddRange | Overloaded. Adds an array of styles (NamedStyle objects) to the collection. | |
Clear | Removes all named styles from the collection. | |
Compose | Composes a style, using the current style and a specified NamedStyle object. | |
Contains | Determines whether the collection contains the specified style (NamedStyle object). | |
CopyTo | Overloaded. Copies the styles in the collection to a specified array at a specified position. | |
Deserialize | Loads the collection of styles from XML. | |
Find | Finds a style (NamedStyle object) in the collection with the specified name. | |
GetEnumerator | Gets an IEnumerator object for enumerating through the NamedStyle objects in the collection. | |
GetObjectData | Populates a System.Runtime.Serialization.SerializationInfo with the data needed to serialize the target object. | |
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 (NamedStyle object) from the collection at the specified index. | |
Serialize | Saves the collection of styles to XML. |