如何在Xamarin表格的右侧添加汉堡菜单?

时间:2017-11-09 07:38:05

标签: c# xamarin xamarin.forms cross-platform mobile-application

如何在Xamarin表格的右侧导航栏中添加汉堡菜单?

enter image description here

1 个答案:

答案 0 :(得分:0)

将此添加到您的xaml

<ContentPage.ToolbarItems>
    <ToolbarItem Order="Secondary" Priority="0" Text="Item 1" Command="{Binding Item1_Command}"/>
    <ToolbarItem Order="Secondary" Priority="0" Text="Item 2" Command="{Binding Item2_Command}"/>
</ContentPage.ToolbarItems>