Search code examples
c#winforms.net-4.0splitcontainer

How to adjust the space between Panel1 and Panel2 in a SplitContainer?


How does one increase the size of the space separation between panels of a SplitContainer?


Solution

  • Change the value of the SplitterWidth property.

    e.g.:

    splitContainer.SplitterWidth = 8;