Table of Contents

Interface IDataTemplate

Namespace
Avalonia.Controls.Templates
Assembly
Avalonia.Controls.dll

Interface representing a template used to build a control for a piece of data.

public interface IDataTemplate : ITemplate<object?, Control?>
Inherited Members

Methods

Match(object?)

Checks to see if this data template matches the specified data.

bool Match(object? data)

Parameters

data object

The data.

Returns

bool

True if the data template can build a control for the data, otherwise false.