/// <summary>
        /// PaintForeground
        /// </summary>
        /// <param name="e"></param>
        protected override void PaintForeground(GridPaintEventArgs e)
        {
            base.PaintForeground(e);

            int intGroupUIState = 0;

            if (!this.ParentGroup.Collapsed)
            {
                intGroupUIState |= Xceed.UI.GroupUIState.Expanded;
            }

            Xceed.UI.GroupUIState groupUIState = new Xceed.UI.GroupUIState(intGroupUIState);

            Color color = this.BackColor;

            foreach (Xceed.Grid.DataRow row in this.ParentGroup.GetSortedDataRows(true))
            {
                if (!string.IsNullOrEmpty(row.ErrorDescription))
                {
                    color = Color.Red;
                    break;
                }
            }
            using (Brush brush = new SolidBrush(color))
            {
                e.Graphics.FillRectangle(brush, new Rectangle(0, 0, 15, 36));
            }

            this.Theme.PaintGroup(e.Graphics, new Rectangle(2, e.ClientRectangle.Bottom - 15, 12, 12), groupUIState, 1);
        }
        /// <summary>
        /// PaintForeground
        /// </summary>
        /// <param name="e"></param>
        protected override void PaintForeground(GridPaintEventArgs e)
        {
            base.PaintForeground(e);

            int intGroupUIState = 0;

            if (!this.ParentGroup.Collapsed)
            {
                intGroupUIState |= Xceed.UI.GroupUIState.Expanded;
            }

            Xceed.UI.GroupUIState groupUIState = new Xceed.UI.GroupUIState(intGroupUIState);

            Color color = this.BackColor;
            foreach (Xceed.Grid.DataRow row in this.ParentGroup.GetSortedDataRows(true))
            {
                if (!string.IsNullOrEmpty(row.ErrorDescription))
                {
                    color = Color.Red;
                    break;
                }
            }
            using (Brush brush = new SolidBrush(color))
            {
                e.Graphics.FillRectangle(brush, new Rectangle(0, 0, 15, 36));
            }

            this.Theme.PaintGroup(e.Graphics, new Rectangle(2, e.ClientRectangle.Bottom - 15, 12, 12), groupUIState, 1);
        }