共用方式為


DataTemplateExtensions.CreateContent Method

Definition

For internal use by the Microsoft.Maui.Controls platform.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Object ^ CreateContent(Microsoft::Maui::Controls::DataTemplate ^ self, System::Object ^ item, Microsoft::Maui::Controls::BindableObject ^ container);
public static object CreateContent (this Microsoft.Maui.Controls.DataTemplate self, object item, Microsoft.Maui.Controls.BindableObject container);
static member CreateContent : Microsoft.Maui.Controls.DataTemplate * obj * Microsoft.Maui.Controls.BindableObject -> obj
<Extension()>
Public Function CreateContent (self As DataTemplate, item As Object, container As BindableObject) As Object

Parameters

self
DataTemplate

For internal use by the Microsoft.Maui.Controls platform.

item
Object

For internal use by the Microsoft.Maui.Controls platform.

container
BindableObject

For internal use by the Microsoft.Maui.Controls platform.

Returns

For internal use by the Microsoft.Maui.Controls platform.

Applies to