ResourceDictionary Class
namespace Noesis | MSDN
Provides a hash table implementation that contains resources used by the UI.
Methods
Name | Description |
---|---|
Add | Adds an element with the provided key and value to the dictionary |
Clear | Removes all elements from the dictionary |
Contains | Determines whether the dictionary contains an element with the specified key |
Count | Returns the number of entries of the base dictionary (excluding merged dictionaries) |
Find | Looks for an element in the dictionary. Returns true if element was found, false otherwise |
Get | Gets the value stored for the specified key |
HasResourcesDefined | Indicates if this dictionary or any of the merged dictionaries contains a resource |
IsReadOnly | Indicates if this dictionary is read-only |
Remove | Removes the element with the specified key from the dictionary |
Set | Sets the element with the specified key |
From BaseDictionary
Name | Description |
---|---|
RemoveDictionaryChangedListeners | Removes listeners subscribed to DictionaryChanged event |
Properties
Name | Description | |
---|---|---|
![]() |
MergedDictionaries | Gets the collection of merged dictionaries |
![]() |
Source | Get or set the source file for this dictionary |
Dependency Property
Read-only
Events
ResourceDictionary has no events
Table of Contents