windowsforms-2327-controls-and-libraries-form-layout-managers-layout-and-data-layout-controls-layout-control-customizing-a-layout-in-code.md
The following methods allow you to create and modify a layout in code:
|
Member
|
Description
| | --- | --- | |
LayoutControlItem‘s constructor
LayoutControlGroup‘s constructor
TabbedControlGroup‘s constructor
|
Creates a new layout item/group/tabbed group. The created objects can then be added to another group (for instance, to the root group) via the LayoutGroup.Add and LayoutGroup.Move methods.
| |
|
Adds the specified item along the bottom or right edge of the current group.
| |
|
Adds a new or an existing layout item to the root group.
| |
|
Adds a new or an existing layout item to the current group.
| |
|
Adds a new or an existing group to the root group.
| |
|
Adds a new or an existing group to the current group.
| |
|
Adds a new or an existing tabbed group to the root group.
| |
LayoutControlGroup.AddTabbedGroup
|
Adds a new or an existing tabbed group to the current group.
| |
|
Adds a new tab page to the current tabbed group.
| |
|
Moves the current layout item to a specific position within the Layout Control.
| |
|
Moves the current tabbed group to a specific position within the Layout Control.
| |
|
Hides the specified item into the Customization Form.
| |
BaseLayoutItem.HideToCustomization
|
Hides the current item into the Customization Form.
| |
BaseLayoutItem.RestoreFromCustomization
|
Restores the specified layout item from the Customization Form.
|