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 DataTemplateSelector type exposes the following members.

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

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 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 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.)