Skip to main content

CaptionAlignMode Enum

Enumerates the options that specify how the controls, displayed with the help of LayoutControlItems, are aligned, and the corresponding labels are resized.

Namespace: DevExpress.Xpf.Docking

Assembly: DevExpress.Xpf.Docking.v14.2.dll

#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 are 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 the text to be displayed in its entirety.

Custom

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

#Passed To

You can pass CaptionAlignMode values to the BaseLayoutItem.CaptionAlignMode property.

#Remarks

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

See Also