Color display Error in Panel. Rhino 7 + Rhino 8 С#

using System;
using Eto.Drawing;
using Eto.Forms;
using Rhino.UI;
using Rhino.UI.Controls;
using static Rhino.UI.Controls.RhinoLayout;

namespace SampleCsEto.Views
{
    
    [System.Runtime.InteropServices.Guid("143ae3f7-3b9d-4964-afc3-759de81d029e")]
    public class SampleCsEtoPanel2 : Panel
    {
   
        ToggleButton tV1 = new ToggleButton();
        ToggleButton tL1 = new ToggleButton();
   
        public static System.Guid PanelId => typeof(SampleCsEtoPanel2).GUID;
 
        public SampleCsEtoPanel2(uint documentSerialNumber)
        {
            DisablePanelColorStyling(this); // Try this
            Padding = 0;
            Title = GetType().Name;
            BackgroundColor = Eto.Drawing.Colors.White;

            int stL = 300;
            int stV = 40;
1 Like