Search code examples
c#winformssplitter

SplitContainer splitter in C#?


i am using a split container. For some reason, the splitter looks like this: enter image description here

It is very hard to see. It is the faint 2 lines in the middle of the two black lines. How do i fix this issue and add a filling between the two lines? I am using Fixed Single as my border style.


Solution

  • Try changing the backcolor, but if using the designer, then also go into Panel1 and Panel2 and change those respective backcolors to the colors you want.

    Also, their is a SplitterWidth property that can adjust the overall size of the splitter handle.