Table of Contents

Interface ITemplate<TParam, TControl>

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

Creates a control based on a parameter.

public interface ITemplate<TParam, TControl>

Type Parameters

TParam

The type of the parameter.

TControl

The type of control.

Methods

Build(TParam)

Creates the control.

TControl Build(TParam param)

Parameters

param TParam

The parameter.

Returns

TControl

The created control.