Custom paint Splitter control in C# WinForms
问题 I am trying to paint the split line that appears when you drag a splitter control: As you can see from this image, the default splitter is a checkerboard. ...this doesn't work: public partial class MockForm : Form { public MockForm() { InitializeComponent(); this.splitter1.Paint += splitter1_Paint; } private void splitter1_Paint(object sender, PaintEventArgs e) { e.Graphics.Clear(Color.Red); } } this just paints the background of the control but not the splitter when it's dragged. Any ideas?