问题描述
我在标题视图中自定义标题, 我想通过按我自定义的选项卡来显示不同的内容(与其他页面)。(如下图所示) 我想知道如何更改不同页面的内容...
<ContentPage>
<NavigationPage.TitleView>
<Button x:Name="energy" />
<Button x:Name="history" />
...
</NavigationPage.TitleView>
<ContentPage.Content>
//when I press energy,and content shows the Energy.xaml
//when I press history,and content shows the History.xaml
</ContentPage.Content>
</ContentPage>
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)