Tim Rupe
Tim Rupe

Reputation: 4321

.NET SplitContainer using C# Windows Forms

I've added a SplitContainer with a horizontal bar between the two panes. I can add content, and move the bar up and down to resize the containers, but the bar itself is invisible. I want the users of my application to see a visible split between these two areas. How can I do this?

Upvotes: 7

Views: 1993

Answers (2)

Chris Porter
Chris Porter

Reputation: 3687

Depending on the look you desire, you also might try adding objects that distinct borders to the 2 content panels in a manner that would cause the splitter to stand out. This is how Outlook 2003/2007 handles split bars.

Upvotes: 0

user27414
user27414

Reputation:

Set the BorderStyle of the SplitContainer to FixedSingle or Fixed3D.

Upvotes: 12

Related Questions