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
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET MAUI