Back to Devexpress

CaptionAlignMode Enum

wpf-devexpress-dot-xpf-dot-docking-a1e1d90e.md

latest2.3 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Wpf.Docking

Declaration

csharp
public enum CaptionAlignMode
vb
Public Enum CaptionAlignMode

Members

NameDescription
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

|

The following properties accept/return CaptionAlignMode values:

Remarks

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

See Also

CaptionAlignMode

DevExpress.Xpf.Docking Namespace