diff --git a/src/Perspex.HtmlRenderer/HtmlControl.cs b/src/Perspex.HtmlRenderer/HtmlControl.cs index 3ea58487e4..f5e52a5fed 100644 --- a/src/Perspex.HtmlRenderer/HtmlControl.cs +++ b/src/Perspex.HtmlRenderer/HtmlControl.cs @@ -85,8 +85,8 @@ namespace Perspex.Controls.Html public static readonly PerspexProperty TextProperty = PropertyHelper.Register("Text", null, OnPerspexProperty_valueChanged); - public static readonly PerspexProperty BackgroundProperty = - PerspexProperty.Register("Background", Brushes.White); + public static readonly PerspexProperty BackgroundProperty = + Border.BackgroundProperty.AddOwner(); public static readonly PerspexProperty BorderThicknessProperty = PerspexProperty.Register("BorderThickness", new Thickness(0));