private void UpdateStyle() { if (htmlElement == null) return; htmlElement.SetStyleAttribute("background", BackgroundStyle); htmlElement.SetStyleAttribute("overflow", OverflowStyle.ToString().ToLower()); }