Sdílet prostřednictvím


ControlTemplate Konstruktory

Definice

Přetížení

ControlTemplate()

Pouze pro interní použití.

ControlTemplate(Func<Object>)
ControlTemplate(Type)

Vytvoří novou šablonu ovládacího prvku pro zadaný typ ovládacího prvku.

ControlTemplate()

Pouze pro interní použití.

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

Platí pro

ControlTemplate(Func<Object>)

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))

Parametry

createTemplate
Func<Object>

Platí pro

ControlTemplate(Type)

Vytvoří novou šablonu ovládacího prvku pro zadaný typ ovládacího prvku.

public:
 ControlTemplate(Type ^ type);
public ControlTemplate (Type type);
new Microsoft.Maui.Controls.ControlTemplate : Type -> Microsoft.Maui.Controls.ControlTemplate
Public Sub New (type As Type)

Parametry

type
Type

Typ ovládacího prvku, pro který chcete vytvořit šablonu.

Platí pro