Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
DataTemplateExtension Class
Definition
- Namespace:
- Microsoft.Maui.Controls.Xaml
- Assembly:
- Microsoft.Maui.Controls.Xaml.dll
- Source:
- DataTemplateExtension.cs
- Source:
- DataTemplateExtension.cs
- Source:
- DataTemplateExtension.cs
- Source:
- DataTemplateExtension.cs
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.
Provides a XAML markup extension that creates a DataTemplate for a specified type.
public ref class DataTemplateExtension sealed : Microsoft::Maui::Controls::Xaml::IMarkupExtension<Microsoft::Maui::Controls::DataTemplate ^>
[Microsoft.Maui.Controls.ContentProperty("TypeName")]
public sealed class DataTemplateExtension : Microsoft.Maui.Controls.Xaml.IMarkupExtension<Microsoft.Maui.Controls.DataTemplate>
[<Microsoft.Maui.Controls.ContentProperty("TypeName")>]
type DataTemplateExtension = class
interface IMarkupExtension<DataTemplate>
interface IMarkupExtension
Public NotInheritable Class DataTemplateExtension
Implements IMarkupExtension(Of DataTemplate)
- Inheritance
-
DataTemplateExtension
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| DataTemplateExtension() | |
Properties
| Name | Description |
|---|---|
| TypeName |
Gets or sets the type name for which to create the data template. |
Methods
| Name | Description |
|---|---|
| ProvideValue(IServiceProvider) | |
Explicit Interface Implementations
| Name | Description |
|---|---|
| IMarkupExtension.ProvideValue(IServiceProvider) | |
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Feedback
Was this page helpful?
