【发布时间】:2021-07-15 12:17:27
【问题描述】:
【问题讨论】:
-
您可以使用自己的自定义导航栏同时绘制汉堡菜单和导航来实现这一点,也许您可以看看this thread
标签: c# xamarin xamarin.forms navigation hamburger-menu
【问题讨论】:
标签: c# xamarin xamarin.forms navigation hamburger-menu
您可以使用 Xamarin.Forms 的Title View 来创建导航栏的自定义设计。
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:local="clr-namespace:TitleViewSample"
x:Class="TitleViewSample.MainPage">
<NavigationPage.TitleView>
...your Layout..
</NavigationPage.TitleView>
</ContentPage>
参考链接:https://www.andrewhoefling.com/Blog/Post/xamarin-forms-title-view-a-powerful-navigation-view
【讨论】: