[]
Template selector used to specify different templates applied to items of the same type.
public DataTemplateSelector ItemTemplateSelector { get; set; }
Avoid doing complex tasks in the Select method such as accessing dictionaries because it could make the layout to work slow.