We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How I can change styles?

Thread ID:





142531 Feb 7,2019 08:15 PM UTC Feb 8,2019 07:28 AM UTC Xamarin.Forms 3
Tags: SfBackdropPage
Asked On February 7, 2019 09:29 PM UTC

How I can change the header's color on my page?
I set BackgroundColor and BackgroundImage but my header is blue :(


My code in XAML:

And I tried this case:

Bharathiraja K [Syncfusion]
Replied On February 8, 2019 06:19 AM UTC

Hi Sergey, 
Greetings from Syncfusion, As mentioned in our UG, your requirement of customizing the background color for the header can be achieved by setting the BarBackgroundColor property of the NavigationPage. 
It can be set in the required backdrop page or in the App.Xaml file as mentioned below, 
<!--In App.xaml --> 
        <Style TargetType="NavigationPage"> 
            <Setter Property="BarBackgroundColor" Value="Black"></Setter> 
            <Setter Property="BarTextColor" Value="Violet"></Setter> 

Replied On February 8, 2019 07:20 AM UTC

It works. Thank you for help.

Bharathiraja K [Syncfusion]
Replied On February 8, 2019 07:28 AM UTC

Hi Sergey,  
We glad that the reported problem resolved at your end.  


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon