Table of Contents

Class FuncControlTemplate<T>

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

A template for a TemplatedControl.

public class FuncControlTemplate<T> : FuncControlTemplate, ITemplate<TemplatedControl, Control>, IControlTemplate, ITemplate<TemplatedControl, TemplateResult<Control>?> where T : TemplatedControl

Type Parameters

T

The type of the lookless control.

Inheritance
FuncControlTemplate<T>
Implements
Inherited Members

Constructors

FuncControlTemplate(Func<T, INameScope, Control>)

Initializes a new instance of the FuncControlTemplate<T> class.

public FuncControlTemplate(Func<T, INameScope, Control> build)

Parameters

build Func<T, INameScope, Control>

The build function.