【发布时间】:2020-02-24 01:22:44
【问题描述】:
为什么TabbedPage 中的页面标题默认为大写?
https://docs.microsoft.com/en-us/xamarin/xamarin-forms/app-fundamentals/navigation/tabbed-page
TabbedPage 文档的此链接显示了标签页标题在代码中为 Titlecase 但在 UI 上为大写的示例。
如下图:
<TabbedPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:local="clr-namespace:TabbedPageWithNavigationPage;assembly=TabbedPageWithNavigationPage"
x:Class="TabbedPageWithNavigationPage.MainPage">
<local:TodayPage />
<NavigationPage Title="Schedule" IconImageSource="schedule.png">
<x:Arguments>
<local:SchedulePage />
</x:Arguments>
</NavigationPage>
</TabbedPage>
【问题讨论】:
-
可能只有最初的 PO 或开发人员会知道。
-
嗯,这是android原生行为,如果我没记错的话可以改!
标签: android xamarin xamarin.forms