SimpleButton.ImageLocation Property

Specifies the image alignment relative to the button.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v20.2.dll


public virtual ImageLocation ImageLocation { get; set; }
Public Overridable Property ImageLocation As ImageLocation

Property Value

Type Default Description


A ImageLocation value that specifies the alignment of the button's image.


The ImageLocation property allows you to align the image relative to the button. You can also align the image relative to the button's text using the SimpleButton.ImageToTextAlignment. If the image is aligned relative to the text, the ImageLocation property is not in effect.

The ImageLocation property is equivalent to the ImageOptions.Location property (see SimpleButton.ImageOptions).

See Also