This documentation is archived and is not being maintained.

DataTemplateSelector Members

Provides a way to choose a DataTemplate based on the data object and the data-bound element.

The following tables list the members exposed by the DataTemplateSelector type.

  Name Description
Public method DataTemplateSelector Initializes a new instance of the DataTemplateSelector class.

(see also Protected Methods )
  Name Description
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
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)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method SelectTemplate When overridden in a derived class, returns a DataTemplate based on custom logic.
Public method ToString  Returns a String that represents the current Object. (inherited from Object)

  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)