Επεξεργασία

Κοινή χρήση μέσω


ResourceDictionary.Values Property

Definition

Gets a collection of all values associated with keys contained in this ResourceDictionary.

public:
 property System::Collections::ICollection ^ Values { System::Collections::ICollection ^ get(); };
public System.Collections.ICollection Values { get; }
member this.Values : System.Collections.ICollection
Public ReadOnly Property Values As ICollection

Property Value

The collection of all values.

Implements

Remarks

This property exists because it is required by IDictionary, but generally is not useful for most ResourceDictionary scenarios.

The returned values do not include values within the MergedDictionaries. Also the collection is a snapshot of the values in the base dictionary. If you subsequently make changes to this ResourceDictionary, a stored Values will not reflect the changes.

Applies to