public override void OnDraw(Graphics2D graphics2D) { base.OnDraw(graphics2D); RectangleDouble border = LocalBounds; border.Deflate(new BorderDouble(1)); //graphics2D.Rectangle(border, ActiveTheme.Instance.SecondaryBackgroundColor, 4); }