How to set ContentPage's Background color ?

YasahbiYasahbi FRMember ✭✭

Hi !
Anyone know how can i set the background color of my content page ?

Thanks !


  • NMackayNMackay GBInsider, University mod
    edited August 2016


    <ContentPage xmlns=""
                 Title="{Binding AppTitle}"
  • YasahbiYasahbi FRMember ✭✭

    I tried this, it doesn't work for me

  • NMackayNMackay GBInsider, University mod


    Can you give a bit more detail? What version of Forms, What platform ? What API level is Android and are you using AppCompat?

  • YasahbiYasahbi FRMember ✭✭

    Well, seems like my problem isn't link to the background color.
    I tested your solution on an other page and its worked
    Thanks for your time

  • juandrnjuandrn Member ✭✭

    Works with ApplyToDerivedTypes

    @PhilippSumi said:
    If you want a generic style, you'll have to specify the ApplyToDerivedTypes attribute or it won't work:

Sign In or Register to comment.