Interface IRecyclingDataTemplate
An IDataTemplate that supports recycling existing elements.
public interface IRecyclingDataTemplate : IDataTemplate, ITemplate<object?, Control?>
- Inherited Members
Methods
Build(object?, Control?)
Creates or recycles a control to display the specified data.
Control? Build(object? data, Control? existing)
Parameters
Returns
- Control
The
existing
control if supplied and applicable todata
, otherwise a new control or null.
Remarks
The caller should ensure that any control passed to existing
originated from the same data template.