A control container that arranges its items in a single column or row, and allows you to create compound layouts of controls, with the ability to combine the controls into groups and align the controls according to their headers.
[ToolboxTabName("DX.19.2: Navigation & Layout")]
[TemplatePart(Name = "PART_Header", Type = typeof(LayoutControlHeader))]
[StyleTypedProperty(Property = "HeaderStyle", StyleTargetType = typeof(LayoutControlHeader))]
public class LayoutControl :
<ToolboxTabName("DX.19.2: Navigation & Layout")>
Public Class LayoutControl
The LayoutControl container arranges its child items in a single column or row, according to the LayoutGroupBase.Orientation inherited property.
Any type of control can be added to the LayoutControl container. However, the most typical items are these:
LayoutGroup - A container arranging its items either horizontally or vertically. With the help of LayoutGroups, you can create compound layouts of controls, where horizontally aligned controls are displayed next to vertically aligned controls.
LayoutItem - A control capable of displaying a header next to a specific content. When using LayoutItem objects as wrappers for your controls within a LayoutControl, you benefit from the automatic control alignment feature, where controls are aligned according to their headers. This feature is controlled by the LayoutGroupBase.ItemHeadersAlignment and LayoutItem.HeaderAlignment properties.