windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-ribbonemptyareaimageoptions.md
Gets or sets how the image is aligned in the empty area.
Namespace : DevExpress.XtraBars.Ribbon
Assembly : DevExpress.XtraBars.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[DefaultValue(ContentAlignment.MiddleRight)]
[DXCategory("Layout")]
[XtraSerializableProperty]
public ContentAlignment ImageAlignment { get; set; }
<DXCategory("Layout")>
<DefaultValue(ContentAlignment.MiddleRight)>
<XtraSerializableProperty>
Public Property ImageAlignment As ContentAlignment
| Type | Default | Description |
|---|---|---|
| ContentAlignment | MiddleRight |
An alignment.
|
You can access this nested property as listed below:
| Object Type | Path to ImageAlignment |
|---|---|
| RibbonControl |
.EmptyAreaImageOptions .ImageAlignment
|
Use the EmptyAreaImageOptions property to specify a raster or vector image displayed in the ribbon’s empty area.
The following image options allow you to specify how the image is displayed in the empty area:
ImageAlignment — specifies how the image is aligned in the empty area.See Also
RibbonEmptyAreaImageOptions Class