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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.