add Submenu in xamarin cross platform ?

How to add Submenu in xamarin cross platform .Please provide some code sample


  • JamesLaveryJamesLavery GBBeta, University ✭✭✭✭✭
    I think we need more context and information. What type of menu are you starting with? Toolbar or context menu (or other)?
  • poonamgusainpoonamgusain USMember ✭✭

    I have to navigate to other page. I want to add submenu for grouping of similar types Currently I created menu using list
    List li = new List();
    li.Add("Home View");
    li.Add("Buy"); --Want to "add Buy" , "View Buy " Sub menu here
    li.Add("Register Phone");
    li.Add("Sign Out");
    menu.ItemsSource = li;

Sign In or Register to comment.