Search code examples
xamlxamarinmaui

MAUI BoxView unable to set Background Color


With .Net MAUI I created a BoxView and am unable to change the Background Color... it remains Black regardless of what color I set. Both Windows and Android Emulator display the same. Any ideas? Thanks!

Screenshot of XAML + App


Solution

  • Please replace following property:

    BackgroundColor="SteelBlue"
    

    with

    Color="SteelBlue"