Skip to main content

CaptionAlignMode Enum

Enumerates the options that specify how the controls and their captions are aligned within the layout items.

Namespace: DevExpress.Xpf.Docking

Assembly: DevExpress.Xpf.Docking.v24.1.dll

NuGet Package: DevExpress.Wpf.Docking

Declaration

public enum CaptionAlignMode

Members

Name Description
Default

For nested layout items, this setting means that the alignment is controlled by the parent’s CaptionAlignMode property. For a root group, this setting means that controls of child LayoutControlItems are auto-aligned across the root group, and nested groups that have the CaptionAlignMode property set to Default.

AlignInGroup

Controls displayed by means of LayoutControlItem objects are auto-aligned across a layout group and its nested groups that have the CaptionAlignMode property set to Default.

AutoSize

The auto-size feature is enabled. The captions of LayoutControlItems are automatically resized to the minimum width that allows to display text without wrapping.

Custom

Enables custom size mode, in which the size of a LayoutControlItem‘s caption must be specified manually via the BaseLayoutItem.CaptionWidth property

Related API Members

The following properties accept/return CaptionAlignMode values:

Remarks

The CaptionAlignMode options can be accessed via the BaseLayoutItem.CaptionAlignMode property.

See Also