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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How I can change styles?

Thread ID:

Created:

Updated:

Platform:

Replies:

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

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

Screen:


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 --> 
 
    <Application.Resources> 
        <Style TargetType="NavigationPage"> 
            <Setter Property="BarBackgroundColor" Value="Black"></Setter> 
            <Setter Property="BarTextColor" Value="Violet"></Setter> 
        </Style> 
    </Application.Resources> 
 
 
 
Thanks, 
Bharathiraja. 


Cepega
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.  
 
Thanks, 
Bharathiraja. 


CONFIRMATION

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

;