Template selector used to specify different templates applied to items of the same type.

Namespace:  C1.Silverlight
Assembly:  C1.Silverlight (in C1.Silverlight.dll)

Syntax

C#
public C1DataTemplateSelector ItemTemplateSelector { get; set; }
Visual Basic
Public Property ItemTemplateSelector As C1DataTemplateSelector
	Get
	Set

Remarks

Avoid doing complex tasks in the Select method such as accessing dictionaries because it could make the layout to work slow.

See Also