Shell.SetItemTemplate(BindableObject, DataTemplate) Method

Definition

Sets the DataTemplate applied to each FlyoutItem object managed by Shell.

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

Parameters

obj
BindableObject

The object that sets the DataTemplate applied to Item objects.

itemTemplate
DataTemplate

The DataTemplate applied to Item objects.

Applies to