Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Collapse]WinForms Controls
  Prerequisites
 [Expand]What's Installed
 [Expand]Build an Application
 [Collapse]Controls and Libraries
  [Expand]Forms and User Controls
  [Expand]Messages, Notifications and Dialogs
  [Expand]Editors and Simple Controls
  [Expand]Ribbon, Bars and Menu
  [Expand]Application UI Manager
  [Expand]Docking Library
  [Expand]Data Grid
  [Expand]Vertical Grid
  [Expand]Pivot Grid
  [Expand]Tree List
  [Expand]Chart Control
  [Expand]Diagrams
  [Expand]Gauges
  [Expand]Map Control
  [Expand]Scheduler
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Spell Checker
  [Collapse]Form Layout Managers
    Side Panel
   [Collapse]Layout Manager
    [Expand]Product Information
    [Expand]Getting Started
    [Expand]Layout Control
    [Expand]Data Layout Control
    [Expand]Layout Item
    [Collapse]Layout Groups
      Layout Group's Settings
      Layout Group's Contents
      Creating Layout Groups
    [Expand]Tabbed Group
    [Expand]Other Layout Elements
    [Expand]Customization Capabilities
    [Expand]Size and Alignment
     Flow Layout
     Table Layout
     Focus Management
    [Expand]Appearance and Look and Feel
    [Expand]Miscellaneous
    [Expand]Examples
    [Expand]Member Tables
   [Expand]Tabbed MDI Manager
    Tab Control
   [Expand]Wizard Control
    Workspace Manager
  [Expand]Navigation Controls
  [Expand]Printing-Exporting
  [Expand]PDF Viewer
   Reporting
  [Expand]Snap
  [Expand]TreeMap Control
 [Expand]Common Features
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Layout Group's Contents

A layout group is a container of regular layout items and other groups. The child items are arranged within a group next to each other and the group's client area is occupied by the child items in its entirety (there is no space that is not occupied by the child items except for the group's border and caption). To insert an empty space to a group Empty Space Items objects are used.

A layout group consists of the caption area, border and client area that displays child layout items:

A group's layout can be customized by dragging layout items to, from and within the group. At design time this functionality is always enabled. At runtime, the group's customization is only enabled in customization mode. To prevent the group's layout from being modified in customization mode you can set the LayoutItemContainer.AllowCustomizeChildren property to false. Additionally, it's possible to prevent the customization mode from being activated via the LayoutControl.AllowCustomization property.

To access a group's child layout items in code you can use the indexer (LayoutGroup.Item). This allows you to iterate through the immediate children. Note that a child item can represent another group that can have its own children. To get the number of immediate child layout items use the LayoutGroup.Count property.

The following methods can be used to customize a group in code.

Method Description
LayoutGroup.Add Adds a layout item to a group.
BaseLayoutItem.Move Moves the specified layout item to another position.
LayoutControlGroup.AddTabbedGroup Adds a tabbed group to a group.

In specific instances it's necessary to identify a group's element that is located at a specific point. To do this, use the LayoutControl.CalcHitInfo method. Please refer to the Hit Information topic for more details.

Expanded See Also

How would you rate this topic?​​​​​​​