共用方式為


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)

適用於