LayoutControlItem.ImageAlignment Property

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

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v20.1.dll

Declaration

[Browsable(false)]
[XtraSerializableProperty]
[DefaultValue(ContentAlignment.MiddleLeft)]
[DXCategory("Appearance")]
public virtual ContentAlignment ImageAlignment { get; set; }
<Browsable(False)>
<XtraSerializableProperty>
<DefaultValue(ContentAlignment.MiddleLeft)>
<DXCategory("Appearance")>
Public Overridable Property ImageAlignment As ContentAlignment

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