我正在使用 Xamarin 跨平臺(tái)表單標(biāo)簽頁。我想更改選定的選項(xiàng)卡顏色文本。我可以更改背景和文本顏色。 我需要更改選定的選項(xiàng)卡顏色文本。 這是我的代碼var page = new tabPage() { BarBackgroundColor = Color.WhiteSmoke, BarTextColor = Color.Black };<TabbedPage xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" x:Class="ABCAPP.Views.MainPage" > <!--Pages can be added as references or inline--> <ContentPage Title="ALL" > </ContentPage><ContentPage Title="Email" ></ContentPage> <ContentPage Title="phoe" ></ContentPage>如果我們選擇“電子郵件”,我想更改“電子郵件”,文本顏色。我該怎么做 ?
- 1 回答
- 0 關(guān)注
- 219 瀏覽
添加回答
舉報(bào)
0/150
提交
取消