Skip to main content
A newer version of this page is available. .

Customizing a Layout In Code

  • 2 minutes to read

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.

LayoutGroup.Add

Adds the specified item along the bottom or right edge of the current group.

LayoutControl.AddItem

Adds a new or an existing layout item to the root group.

LayoutControlGroup.AddItem

Adds a new or an existing layout item to the current group.

LayoutControl.AddGroup

Adds a new or an existing group to the root group.

LayoutControlGroup.AddGroup

Adds a new or an existing group to the current group.

LayoutControl.AddTabbedGroup

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.

TabbedControlGroup.AddTabPage

Adds a new tab page to the current tabbed group.

BaseLayoutItem.Move

Moves the current layout item to a specific position within the Layout Control.

TabbedGroup.MoveTabPage

Moves the current tabbed group to a specific position within the Layout Control.

LayoutControl.HideItem

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.

Task-Based Help