ResourceDictionary.Values Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.