WindowsUIButton.ImageLocation Property
Gets or sets the position of the current WindowsUIButton‘s icon relative to this button’s text.
Namespace: DevExpress.XtraBars.Docking2010
Assembly: DevExpress.XtraBars.v24.2.dll
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:
See the WindowsUI Buttons topic to learn more.
The ImageLocation property is equivalent to the ImageOptions.ImageLocation property (see WindowsUIButton.ImageOptions).
See Also