SimpleButton.ImageLocation Property

Specifies the image alignment relative to the button.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

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

Property Value

Type Default Description
ImageLocation

Default

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

Remarks

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