/// <inheritdoc /> public override Pixel[,] Render() { char[,] inp1 = Content.ToNdArray2D(); char[,] inp = new char[inp1.GetLength(0), inp1.GetLength(1) + 4]; inp.Populate(' '); inp1.CopyTo(inp, new Point(4, 0)); inp[0, 0] = '['; inp[0, 1] = Checked ? 'X' : SpecialChars.Empty; inp[0, 2] = ']'; int w = inp.GetLength(0); int h = inp.GetLength(1); Pixel[,] output = new Pixel[w, h]; for (int x = 0; x < w; x++) { for (int y = 0; y < h; y++) { output[x, y] = new Pixel(Selected ? ForeColor : BackColor, Selected ? BackColor : ForeColor, inp[x, y]); } } Size = new Size(w, h); return(output); }