Click or drag to resize
ResourceDictionary Methods

The ResourceDictionary type exposes the following members.

Methods
  NameDescription
Public methodAdd(KeyValuePairObject, Object)
Adds the specified key and value to the ResourceDictionary.
Public methodAdd(Object, Object)
Adds the specified key and value to the ResourceDictionary.
Public methodClear
Removes all items from this ResourceDictionary.
Public methodContains(KeyValuePairObject, Object)
Determines whether the ResourceDictionary contains a specified KeyValuePair using the default equality comparer.
Public methodContains(Object)
Determines whether the System.Collections.IDictionary object contains an element with the specified key.
Public methodContainsKey
Determines whether the ResourceDictionary contains the specified key.
Public methodCopyTo(Array, Int32)
Public methodCopyTo(KeyValuePairObject, Object, Int32)
Copies the ResourceDictionary.KeyCollection elements to an existing one-dimensional System.Array, starting at the specified array index.
Public methodEquals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetEnumerator
Returns an enumerator that iterates through the ResourceDictionary.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetValue
Returns the current effective value of a dependency property from a DependencyObject.
(Inherited from DependencyObject.)
Public methodGetVisualStateValue (Inherited from DependencyObject.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodReadLocalValue
Returns the local value of a dependency property, if a local value is set.
(Inherited from DependencyObject.)
Public methodRemove(KeyValuePairObject, Object)
Removes the specified KeyValuePair from the ResourceDictionary.
Public methodRemove(Object)
Removes the value with the specified key from the ResourceDictionary.
Public methodSetBinding
Attaches a binding to a FrameworkElement, using the provided binding object.
(Inherited from DependencyObject.)
Public methodSetInheritedValue
Sets the inherited value of a dependency property on a DependencyObject. Do not use this method.
(Inherited from DependencyObject.)
Public methodSetLocalValue
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.)
Public methodSetValue
Sets the local value of a dependency property on a DependencyObject.
(Inherited from DependencyObject.)
Public methodSetVisualStateValue (Inherited from DependencyObject.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTryGetValue
Gets the value associated with the specified key.
Top
See Also