DataTemplateExtension 类

定义

public ref class DataTemplateExtension sealed : Microsoft::Maui::Controls::Xaml::IMarkupExtension<Microsoft::Maui::Controls::DataTemplate ^>
[Microsoft.Maui.Controls.ContentProperty("TypeName")]
[Microsoft.Maui.Controls.Xaml.ProvideCompiled("Microsoft.Maui.Controls.Build.Tasks.DataTemplateExtension")]
public sealed class DataTemplateExtension : Microsoft.Maui.Controls.Xaml.IMarkupExtension<Microsoft.Maui.Controls.DataTemplate>
[<Microsoft.Maui.Controls.ContentProperty("TypeName")>]
[<Microsoft.Maui.Controls.Xaml.ProvideCompiled("Microsoft.Maui.Controls.Build.Tasks.DataTemplateExtension")>]
type DataTemplateExtension = class
    interface IMarkupExtension<DataTemplate>
    interface IMarkupExtension
Public NotInheritable Class DataTemplateExtension
Implements IMarkupExtension(Of DataTemplate)
继承
DataTemplateExtension
属性
ContentPropertyAttribute ProvideCompiledAttribute
实现

构造函数

DataTemplateExtension()

属性

TypeName

方法

ProvideValue(IServiceProvider)

显式接口实现

IMarkupExtension.ProvideValue(IServiceProvider)

适用于