Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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