Shell.SetItemTemplate(BindableObject, DataTemplate) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.