Hello,
Is there any way to bind the items displayed in the shell FlyoutItem? In my app i want to enable to user too add devices after which these devices will be displayed in the Flyout.
Thank you
LeonLu thank you for taking your time to answer, but i was wondering if it can be done via a binding? So that a VM property would populate the FlyoutItem.Items?
Answers
Do you want to add the ShellContent using C# dynamically
myshell is the name of Shell.
If you want to achieve binding like following binding.
I change the
Title
ofFlyoutItem
toTitle="{Binding FlyoutItemTitle}"
,FlyoutItemTitle
is a property in the background code.If you want to achieve this type, it could be achieve it.