Skip to main content

WindowsUIButton.ImageLocation Property

Gets or sets the position of the current WindowsUIButton‘s icon relative to this button’s text. This property is obsolete. Use the ImageOptions property instead.

Namespace: DevExpress.XtraBars.Docking2010

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[Browsable(false)]
[DefaultValue(ImageLocation.Default)]
[EditorBrowsable(EditorBrowsableState.Never)]
public ImageLocation ImageLocation { get; set; }

Property Value

Type Default Description
DevExpress.XtraBars.Docking2010.ImageLocation Default

Gets or sets the position of the current WindowsUIButton‘s icon relative to this button’s text.

Remarks

If a WindowsUIButton has both text and image, use the ImageLocation property to set their relative positions. By default, a WindowsUIButton‘s icon is positioned before the WindowsUIButton‘s text. In the figure below, icons are located above captions:

DocumentManager - Custom Buttons Appearance

See the WindowsUI Buttons topic to learn more.

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

See Also