Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

Change Navigation Bar color for Android and IOS in xamarin forms

$
0
0

Hi

i have a requirement where Navigation pages should have different bar colors for each of the page.

i have a dashboard page and wrote following code when click on listview ltem

NavigationPage newpage= new NavigationPage(new MYInfoPage());
newpage.BarBackgroundColor. = Color.Red;
newpage.BarTextColor = Color.Green;
await Navigation.PushAsync(newpage);

But the color is not getting updated.

Please suggest on this.

regards,
Kumar


Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>