DataTemplate 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
DataTemplate() |
For internal use only. |
DataTemplate(Func<Object>) |
Creates and initializes a new instance of the DataTemplate class. |
DataTemplate(Type) |
Creates a new DataTemplate for type |
DataTemplate()
- Source:
- DataTemplate.cs
- Source:
- DataTemplate.cs
- Source:
- DataTemplate.cs
For internal use only.
public:
DataTemplate();
public DataTemplate();
Public Sub New ()
Applies to
DataTemplate(Func<Object>)
- Source:
- DataTemplate.cs
- Source:
- DataTemplate.cs
- Source:
- DataTemplate.cs
Creates and initializes a new instance of the DataTemplate class.
public:
DataTemplate(Func<System::Object ^> ^ loadTemplate);
public DataTemplate(Func<object> loadTemplate);
new Microsoft.Maui.Controls.DataTemplate : Func<obj> -> Microsoft.Maui.Controls.DataTemplate
Public Sub New (loadTemplate As Func(Of Object))
Parameters
Applies to
DataTemplate(Type)
- Source:
- DataTemplate.cs
- Source:
- DataTemplate.cs
- Source:
- DataTemplate.cs
Creates a new DataTemplate for type type
.
public:
DataTemplate(Type ^ type);
public DataTemplate(Type type);
new Microsoft.Maui.Controls.DataTemplate : Type -> Microsoft.Maui.Controls.DataTemplate
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