NamedStyleCollection.NamedStyleCollection Constructors
Initializes a new instance of the NamedStyleCollection class.
Overload List
| Name | Description | |
|---|---|---|
| Public method | NamedStyleCollection() | Initializes a new empty instance of the NamedStyleCollection class. | 
| Public method | NamedStyleCollection(IEnumerable< NamedStyle > items) | Initializes a new instance of the NamedStyleCollection class with the specified elements. | 
NamedStyleCollection()
Initializes a new empty instance of the NamedStyleCollection class.Syntax
public NamedStyleCollection ()NamedStyleCollection(IEnumerable< NamedStyle > items)
Initializes a new instance of the NamedStyleCollection class with the specified elements.Syntax
public NamedStyleCollection (
	IEnumerable< NamedStyle > items
)Parameters
items
    Type: A collection of NamedStyle elements.
A collection of items to add to the new collection.
A collection of items to add to the new collection.
Platforms
Windows, Linux, Android