Skip to content

IDataTemplate<TItem> interface

A template for items of one type. Implement the typed members; the untyped ones forward to them.

Guide: C# Markup guide

public interface IDataTemplate<in TItem> : IDataTemplate
name description
Bind(…)
Unbind(…)

A null item reaches the typed members as default, and an item of another type throws InvalidCastException.