共用方式為


BindableLayout.SetItemTemplate(BindableObject, DataTemplate) Method

Definition

public:
 static void SetItemTemplate(Microsoft::Maui::Controls::BindableObject ^ b, Microsoft::Maui::Controls::DataTemplate ^ value);
public static void SetItemTemplate (Microsoft.Maui.Controls.BindableObject b, Microsoft.Maui.Controls.DataTemplate value);
static member SetItemTemplate : Microsoft.Maui.Controls.BindableObject * Microsoft.Maui.Controls.DataTemplate -> unit
Public Sub SetItemTemplate (b As BindableObject, value As DataTemplate)

Parameters

value
DataTemplate

Applies to