Manage control layout on a Windows Form
Microsoft .NET Framework, ASP.NET, Visual C# (CSharp, C Sharp, C-Sharp) Developer Training, Visual Studio
| Exam 70-526 Preparation Guide: Manage control layout on a Windows Form. |
Contents |
A Windows Form inherits from System.Windows.Forms.ContainerControl, which means that the Form class can hold other controls such as buttons, labels, etc. Within the Form other container controls can be added that can group controls in a logical manner and therefore help with laying out a Form.
A ContainerControl represents a control that can function as a container for other controls.
If we look at the calculator application which ships with Windows, we can see radio button controls that are grouped together.
The grouping is made using one of the container controls that we will discuss in this section.
Exam Sections
Group and arrange controls by using the Panel, GroupBox, TabControl, FlowLayoutPanel, and TableLayoutPanel controls.
Use the SplitContainer control to create dynamic container areas.
MSDN references
|


