Compartilhar via


ResourceDictionaryCollection Class

Definition

A list of XAML resource dictionaries.

public sealed class ResourceDictionaryCollection : System.Collections.Generic.IEnumerable<string>, System.Collections.Generic.IReadOnlyCollection<string>
type ResourceDictionaryCollection = class
    interface IReadOnlyCollection<string>
    interface seq<string>
    interface IEnumerable
Public NotInheritable Class ResourceDictionaryCollection
Implements IEnumerable(Of String), IReadOnlyCollection(Of String)
Inheritance
ResourceDictionaryCollection
Implements

Properties

Count

Gets the number of elements in the collection.

Methods

AddEmbeddedResource(String)

Adds the embedded resource text file named resourceFileName from the assembly defining the remote user control. This method returns the embedded resource from the satellite assembly with the culture best matching CurrentUICulture.

AddXamlString(String)

Adds a xaml string to this list.

GetEnumerator()

Returns an enumerator that iterates through the collection.

Explicit Interface Implementations

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

Extension Methods

EmptyIfNull<T>(IEnumerable<T>)

Return this enumeration in case it is not null. In case it is null return empty enumeration.

Applies to