/// <summary> /// Initializes a new instance of the XPanderPanel class. /// </summary> public XPanderPanel() { InitializeComponent(); this.BackColor = Color.Transparent; this.CaptionStyle = CaptionStyle.Normal; this.ForeColor = SystemColors.ControlText; this.Height = this.CaptionHeight; this.ShowBorder = true; this.m_customColors = new CustomXPanderPanelColors(); this.m_customColors.CustomColorsChanged += OnCustomColorsChanged; }
/// <summary> /// Initializes a new instance of the XPanderPanel class. /// </summary> public XPanderPanel() { InitializeComponent(); BackColor = Color.Transparent; CaptionStyle = CaptionStyle.Normal; ForeColor = SystemColors.ControlText; Height = CaptionHeight; ShowBorder = true; _customColors = new CustomXPanderPanelColors(); _customColors.CustomColorsChanged += OnCustomColorsChanged; }