Summary
Creates a control from a
Func<TResult>
.
- Namespace
- Avalonia
.Controls .Templates - Interfaces
- Base Types
-
- object
graph BT
Type-->Base0["object"]
Type-.->Interface0["ITemplate<TControl>"]
Type-.->Interface1["ITemplate"]
click Interface1 "/api/Avalonia.Styling/ITemplate"
Type["FuncTemplate<TControl>"]
class Type type-node
Syntax
public class FuncTemplate<TControl> : ITemplate<TControl>, ITemplate where TControl : IControl
Type Parameters
Name | Description |
---|---|
TControl | The type of control. |
Constructors
Name | Summary |
---|---|
FuncTemplate |
Initializes a new instance of the FuncTemplate<TControl> class.
|