2017-02-10 1 views
0

IOS, Android 및 Windows에서 작동하는 응용 프로그램을 만들기 위해 Portable Xamarin 양식 솔루션을 사용하고 있습니다. 탐색 모음의 배경색 설정에 문제가 있습니다. . BarBackground 색상이 작동하지 않습니다. 우리는 각 플랫폼의 색상을 변경하려고했지만 Windows에서는 변경할 수 없습니다. 미리 감사드립니다.Xamarin 양식 탐색 모음 Windows 플랫폼에서 변경할 색

+0

여기 http://stackoverflow.com/questions/36062495/xamarin-forms-how-to-change-the-nav-bar-color 내 질문 확인 –

답변

2
You are using Xamarin.forms. So, change the constructor of App.Xaml.cs in your PCL. 

public App() 
{ 
    MainPage = new NavigationPage(new Page1()) 
    { 
     BarBackgroundColor = Color.Gray 
    }; 
} 
관련 문제