xarzu
xarzu

Reputation: 9479

How to make Multi-Pane GUI in WPF or C#?

I have seen this user interface in some screen shots of some RSS Readers. It is a multi-pane user interface. THere are three panels or "panes" to the window, in other words, the window is divided into three parts and the user is able to mouse over the division and click on the seperation bar and resize the section.

How is this sort of GUI developed in C#?

Upvotes: 0

Views: 1279

Answers (1)

Wim Coenen
Wim Coenen

Reputation: 66723

In WinForms, this is done with a SplitContainer. The Orientation property can be used to get vertical or horizontal splits. You can also nest splitcontainers to get multiple splits.

In WPF there is no SplitContainer, but the same effect can be achieved with a Grid and a GridSplitter.

Finally, note that "WPF or C#" is a false dichotomy. WPF and WinForms are just UI frameworks in the .NET framework. Both can be used with any .NET language, including C#, VB.NET, etcetera.

Upvotes: 1

Related Questions