Freigeben über


ControlTemplate Constructors

Definition

Overloads

ControlTemplate()

For internal use only.

ControlTemplate(Func<Object>)
ControlTemplate(Type)

Creates a new control template for the specified control type.

ControlTemplate()

Source:
ControlTemplate.cs
Source:
ControlTemplate.cs

For internal use only.

public:
 ControlTemplate();
public ControlTemplate ();
Public Sub New ()

Applies to

ControlTemplate(Func<Object>)

Source:
ControlTemplate.cs
Source:
ControlTemplate.cs
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

createTemplate
Func<Object>

Applies to

ControlTemplate(Type)

Source:
ControlTemplate.cs
Source:
ControlTemplate.cs

Creates a new control template for the specified control 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 of control for which to create a template.

Applies to