Skip to main content
A newer version of this page is available. .

LayoutControlItem.ImageAlignment Property

Gets or sets the alignment of the image within the label.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v19.1.dll

Declaration

[Browsable(false)]
[XtraSerializableProperty]
[DefaultValue(ContentAlignment.MiddleLeft)]
[DXCategory("Appearance")]
public virtual ContentAlignment ImageAlignment { get; set; }

Property Value

Type Default Description
ContentAlignment **MiddleLeft**

A ContentAlignment enumeration value that specifies the alignment of the image within the label.

Remarks

An image can be assigned to a layout item via the LayoutControlItem.Image or LayoutControlItem.ImageIndex property. The ImageAlignment property specifies the alignment of the image within the label.

See Also