Skip to main content

Match Method

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

Definition

Namespace: Avalonia.Controls.Templates
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)

public bool Match(
Object? data
)

Parameters

  Object
The data.

Return Value

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

Implements

IDataTemplate.Match(Object)

See Also

Reference

FuncDataTemplate Class
Avalonia.Controls.Templates Namespace