ResourceDictionary Methods |
The ResourceDictionary type exposes the following members.
Name | Description | |
---|---|---|
Add(KeyValuePairObject, Object) |
Adds the specified key and value to the ResourceDictionary.
| |
Add(Object, Object) |
Adds the specified key and value to the ResourceDictionary.
| |
Clear |
Removes all items from this ResourceDictionary.
| |
Contains(KeyValuePairObject, Object) |
Determines whether the ResourceDictionary contains a specified KeyValuePair using the default equality comparer.
| |
Contains(Object) |
Determines whether the System.Collections.IDictionary object contains an element with the specified key.
| |
ContainsKey |
Determines whether the ResourceDictionary contains the specified key.
| |
CopyTo(Array, Int32) | ||
CopyTo(KeyValuePairObject, Object, Int32) |
Copies the ResourceDictionary.KeyCollection
elements to an existing one-dimensional System.Array, starting at the specified
array index.
| |
Equals(Object) | (Inherited from Object.) | |
GetEnumerator |
Returns an enumerator that iterates through the ResourceDictionary.
| |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetValue |
Returns the current effective value of a dependency property from a DependencyObject.
(Inherited from DependencyObject.) | |
GetVisualStateValue | (Inherited from DependencyObject.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ReadLocalValue |
Returns the local value of a dependency property, if a local value is set.
(Inherited from DependencyObject.) | |
Remove(KeyValuePairObject, Object) |
Removes the specified KeyValuePair from the ResourceDictionary.
| |
Remove(Object) |
Removes the value with the specified key from the ResourceDictionary.
| |
SetBinding |
Attaches a binding to a FrameworkElement, using the provided binding object.
(Inherited from DependencyObject.) | |
SetInheritedValue |
Sets the inherited value of a dependency property on a DependencyObject. Do not use this method.
(Inherited from DependencyObject.) | |
SetLocalValue |
Sets the local value of a dependency property on a DependencyObject while not overriding a hypothetical Binding (example: when the user writes in a TextBox with a two way Binding on its Text property).
(Inherited from DependencyObject.) | |
SetValue |
Sets the local value of a dependency property on a DependencyObject.
(Inherited from DependencyObject.) | |
SetVisualStateValue | (Inherited from DependencyObject.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
TryGetValue |
Gets the value associated with the specified key.
|