Todd T
Todd T

Reputation: 335

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

Upvotes: 0

Views: 1881

Answers (1)

Jessie Zhang -MSFT
Jessie Zhang -MSFT

Reputation: 13879

Please replace following property:

BackgroundColor="SteelBlue"

with

Color="SteelBlue"

Upvotes: 3

Related Questions