Manage control layout on a Windows Form

Microsoft .NET Framework, ASP.NET, Visual C# (CSharp, C Sharp, C-Sharp) Developer Training, Visual Studio


Jump to: navigation, search
Exam Prep. Guides
70-505 Study Guide
70-526 Study Guide

1. Forms Controls

2. Integrating Data
3. Printing/Reporting
4. Enhancing Usability
5. Asynchronous Prog.
6. Forms Controls
7. Configure/Deploy

edit
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.

Image:calculator.jpg


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


Previous_Page_.gif Next_Page_.gif
© 2007-2008 Mike Kitchen

Personal tools