FuncControlTemplate<T> Class

Summary

A template for a TemplatedControl.
graph BT Type-->Base0["FuncControlTemplate"] click Base0 "/api/Avalonia.Controls.Templates/FuncControlTemplate" Base0-->Base1["FuncTemplate<ITemplatedControl, IControl>"] Base1-->Base2["object"] Type-.->Interface0["ITemplate<ITemplatedControl, IControl>"] Type-.->Interface1["IControlTemplate"] click Interface1 "/api/Avalonia.Controls.Templates/IControlTemplate" Type-.->Interface2["ITemplate<ITemplatedControl, ControlTemplateResult>"] Type["FuncControlTemplate<T>"] class Type type-node

Syntax

public class FuncControlTemplate<T> : FuncControlTemplate, ITemplate<ITemplatedControl, IControl>, 
    IControlTemplate, ITemplate<ITemplatedControl, ControlTemplateResult>
    where T : ITemplatedControl

Type Parameters

Name Description
T The type of the lookless control.

Constructors

Name Summary
FuncControlTemplate(Func<T, INameScope, IControl>) Initializes a new instance of the FuncControlTemplate<T> class.

Methods