ResourceDictionary.Keys 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 keys contained in this ResourceDictionary.
public:
property System::Collections::ICollection ^ Keys { System::Collections::ICollection ^ get(); };
public System.Collections.ICollection Keys { get; }
member this.Keys : System.Collections.ICollection
Public ReadOnly Property Keys As ICollection
Property Value
The collection of all keys.
Implements
Remarks
This property exists because it is required by IDictionary, but Keys generally is not useful for most ResourceDictionary scenarios.
The returned keys do not include keys within the MergedDictionaries. Also the keys collection is a snapshot of the keys in the base dictionary. If you subsequently make changes to this ResourceDictionary, a stored Keys will not reflect the changes.
Applies to
See also
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro