Share via


BindableLayout.SetItemTemplate(BindableObject, DataTemplate) Method

Definition

Sets the data template for items in the bindable layout.

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

b
BindableObject

The bindable object to set the template on.

value
DataTemplate

The data template to use for items.

Applies to