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)

bool Match(
Object? data
)
View Source

Parameters

  Object
The data.

Return Value

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

See Also

Reference

IDataTemplate Interface
Avalonia.Controls.Templates Namespace