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
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
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
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.