共用方式為


DataTemplateExtensions.SelectDataTemplate Method

Definition

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

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

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