windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-ribbonemptyareaimageoptions-67c3efa7.md
Gets or sets whether the image is squeezed, stretched, zoomed, or displayed as is.
Namespace : DevExpress.XtraBars.Ribbon
Assembly : DevExpress.XtraBars.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[DefaultValue(RibbonEmptyAreaImageSizeMode.Default)]
[DXCategory("Layout")]
[XtraSerializableProperty]
public RibbonEmptyAreaImageSizeMode SizeMode { get; set; }
<DXCategory("Layout")>
<DefaultValue(RibbonEmptyAreaImageSizeMode.Default)>
<XtraSerializableProperty>
Public Property SizeMode As RibbonEmptyAreaImageSizeMode
| Type | Default | Description |
|---|---|---|
| DevExpress.XtraBars.Ribbon.ViewInfo.RibbonEmptyAreaImageSizeMode | Default |
A value that specifies whether the image is squeezed, stretched, zoomed, or displayed as is. Default is Squeeze.
|
You can access this nested property as listed below:
| Object Type | Path to SizeMode |
|---|---|
| RibbonControl |
.EmptyAreaImageOptions .SizeMode
|
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:
SizeMode — specifies whether the image is squeezed, stretched, zoomed, or displayed as is. Default is Squeeze.See Also
RibbonEmptyAreaImageOptions Class