Skip to content

ItemTemplateExtensions class

Fluent item-template overloads that hand the bind callback the template root as the type the build callback returned, so the callback needs no cast.

Guide: C# Markup guide

public static class ItemTemplateExtensions
name description
static ItemTemplate(…) Sets the item template.
static ItemTemplate<TItem>(…) Sets the item template using delegate-based templating. (2 methods)
static ItemTemplate<TItem,TElement>(…) Sets the item template; the bind callback receives the root the build callback returned. (14 methods)
static SelectedItemTemplate<TItem,TElement>(…) Sets the header template for the selected item; the bind callback receives the root the build callback returned. (2 methods)