FuncDataTemplate Class

Summary

Builds a control for a piece of data.
graph BT Type-->Base0["FuncTemplate<object, IControl>"] Base0-->Base1["object"] Type-.->Interface0["IRecyclingDataTemplate"] click Interface0 "/api/Avalonia.Controls.Templates/IRecyclingDataTemplate" Type-.->Interface1["IDataTemplate"] click Interface1 "/api/Avalonia.Controls.Templates/IDataTemplate" Type-.->Interface2["ITemplate<object, IControl>"] Type["FuncDataTemplate"] class Type type-node Derived0["FuncTreeDataTemplate"]-->Type click Derived0 "/api/Avalonia.Controls.Templates/FuncTreeDataTemplate" Derived1["FuncDataTemplate<T>"]-->Type click Derived1 "/api/Avalonia.Controls.Templates/FuncDataTemplate_1"

Syntax

public class FuncDataTemplate : FuncTemplate<object, IControl>, IRecyclingDataTemplate, 
    IDataTemplate, ITemplate<object, IControl>

Constructors

Fields

Name Constant Value Summary
Access
The default data template used in the case where no matching data template is found but AccessText should be used.
static
Default
The default data template used in the case where no matching data template is found.
static

Methods

Name Value Summary
Build(object, IControl) IControl
Creates or recycles a control to display the specified data.
Match(object) bool
Checks to see if this data template matches the specified data.