Export (0) Print
Expand All

ResourceDictionary Members

Provides a hash table / dictionary implementation that contains WPF resources used by components and other elements of a WPF application.

The ResourceDictionary type exposes the following members.

  NameDescription
Public method ResourceDictionary Initializes a new instance of the ResourceDictionary class.
Top

  NameDescription
Public method Add Adds a resource by key to this ResourceDictionary.
Public method BeginInit Begins the initialization phase for this ResourceDictionary.
Public method Clear Clears all keys (and values) in the base ResourceDictionary. This does not clear any merged dictionary items.
Public method Contains Determines whether the ResourceDictionary contains an element with the specified key.
Public method CopyTo Copies the ResourceDictionary elements to a one-dimensional DictionaryEntry at the specified index.
Public method EndInit Ends the initialization phase, and invalidates the previous tree such that all changes made to keys during the initialization phase can be accounted for.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method FindName Not supported by this Dictionary implementation.
Public method GetEnumerator Returns an IDictionaryEnumerator that can be used to iterate through the ResourceDictionary.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method RegisterName Not supported by this Dictionary implementation.
Public method Remove Removes the entry with the specified key from the base dictionary.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method UnregisterName Not supported by this Dictionary implementation.
Top

  NameDescription
Public Extension Method AsQueryable Converts an IEnumerable to an IQueryable. (Defined by Queryable.)
Public Extension Method Cast Converts the elements of an IEnumerable to the specified type. (Defined by Enumerable.)
Public Extension Method OfType Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.)
Top

  NameDescription
Public property Count Gets the number of entries in the base ResourceDictionary.
Public property IsFixedSize Gets whether this ResourceDictionary is fixed-size.
Public property IsReadOnly Gets whether this ResourceDictionary is read-only.
Public property Item Gets or sets the value associated with the given key.
Public property Keys Gets a collection of all keys contained in this ResourceDictionary.
Public property MergedDictionaries Gets a collection of the ResourceDictionary dictionaries that constitute the various resource dictionaries in the merged dictionaries.
Public property Source Gets or sets the uniform resource identifier (URI) to load resources from.
Public property Values Gets a collection of all values associated with keys contained in this ResourceDictionary.
Top

  NameDescription
Explicit interface implemetation Private property IUriContext.BaseUri For a description of this member, see IUriContext.BaseUri.
Explicit interface implemetation Private method ICollection.CopyTo Infrastructure. For a description of this member, see ICollection.CopyTo.
Explicit interface implemetation Private method IEnumerable.GetEnumerator Infrastructure. For a description of this member, see IEnumerable.GetEnumerator.
Explicit interface implemetation Private property ICollection.IsSynchronized Infrastructure. For a description of this member, see ICollection.IsSynchronized.
Explicit interface implemetation Private property ICollection.SyncRoot For a description of this member, see ICollection.SyncRoot.
Top

Community Additions

ADD
Show:
© 2014 Microsoft