All docs
V21.2
21.2
21.1
20.2
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

SvgImageBox.ImageAlignment Property

Gets or sets how the image is aligned within the control’s bounds.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v21.2.dll

Declaration

[DefaultValue(ContentAlignment.MiddleCenter)]
public ContentAlignment ImageAlignment { get; set; }

Property Value

Type Default Description
ContentAlignment

MiddleCenter

A value that specifies how the image is aligned within the control’s bounds.

Remarks

The ImageAlignment property allows you to align the image.

SvgImageBox - Image Alignment

You cannot align an image when the SvgImageBox.SizeMode property is set to Stretch.

See Also