Summary
Initializes a new instance of the
FuncTemplate<TControl>
class.
- Namespace
- Avalonia
.Controls .Templates - Containing Type
- FuncTemplate
<TControl>
Syntax
public FuncTemplate(Func<TControl> func)
Parameters
Name | Type | Description |
---|---|---|
func | Func |
The function used to create the control. |
Return Value
Type | Description |
---|---|
void |