Forum Xamarin Xamarin.Forms

How can one set the Backgroud color of a disabled flyout menu item in a shell in Xamarin.Forms?

toyinstoyins USMember ✭✭✭

I have a Flyout menu Item list in a Shell. Some items are disabled based on certain conditions.
E.g
public AppShell()
{
this.Items[1].Enabled = false;
this.Items[2].Enabled = false;
//Background Color? How
}

I have tried the SetValue method to attempt to change the Background color properties of the flyout menu items but no luck.

Answers

  • ColeXColeX Member, Xamarin Team Xamurai

    No ,we can't do this , shell project takes a sealing design that we can do little on its UI .

    If you want to customize the UI as more as possible , i suggest you take a look at master-detail page , it' pretty easy to implement this requirement.

Sign In or Register to comment.