ControlTemplate Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| ControlTemplate() |
Creates a new empty ControlTemplate. |
| ControlTemplate(Func<Object>) |
Creates a new ControlTemplate with the specified content factory. |
| ControlTemplate(Type) |
Creates a new ControlTemplate with the specified type. |
ControlTemplate()
- Source:
- ControlTemplate.cs
- Source:
- ControlTemplate.cs
- Source:
- ControlTemplate.cs
- Source:
- ControlTemplate.cs
Creates a new empty ControlTemplate.
public:
ControlTemplate();
public ControlTemplate();
Public Sub New ()
Applies to
ControlTemplate(Func<Object>)
- Source:
- ControlTemplate.cs
- Source:
- ControlTemplate.cs
- Source:
- ControlTemplate.cs
- Source:
- ControlTemplate.cs
Creates a new ControlTemplate with the specified content factory.
public:
ControlTemplate(Func<System::Object ^> ^ createTemplate);
public ControlTemplate(Func<object> createTemplate);
new Microsoft.Maui.Controls.ControlTemplate : Func<obj> -> Microsoft.Maui.Controls.ControlTemplate
Public Sub New (createTemplate As Func(Of Object))
Parameters
Applies to
ControlTemplate(Type)
- Source:
- ControlTemplate.cs
- Source:
- ControlTemplate.cs
- Source:
- ControlTemplate.cs
- Source:
- ControlTemplate.cs
Creates a new ControlTemplate with the specified type.
public:
ControlTemplate(Type ^ type);
public ControlTemplate(Type type);
new Microsoft.Maui.Controls.ControlTemplate : Type -> Microsoft.Maui.Controls.ControlTemplate
Public Sub New (type As Type)
Parameters
- type
- Type
The type to use as the template content.