Back to Devexpress

RibbonControl.EmptyAreaImageOptions Property

windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-ribboncontrol-eb190baf.md

latest2.3 KB
Original Source

RibbonControl.EmptyAreaImageOptions Property

Provides access to options that specify a raster or vector image displayed in the ribbon’s empty area.

Namespace : DevExpress.XtraBars.Ribbon

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DXCategory("Appearance")]
[XtraSerializableProperty]
public RibbonEmptyAreaImageOptions EmptyAreaImageOptions { get; }
vb
<DXCategory("Appearance")>
<XtraSerializableProperty>
Public ReadOnly Property EmptyAreaImageOptions As RibbonEmptyAreaImageOptions

Property Value

TypeDescription
RibbonEmptyAreaImageOptions

An object that contains image options.

|

Remarks

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.
  • ImagePadding — specifies the space between the image and the empty area’s edge.
  • SizeMode — specifies whether the image is squeezed, stretched, zoomed, or displayed as is. Default is Squeeze.

See Also

RibbonEmptyAreaImageOptions

RibbonControl Class

RibbonControl Members

DevExpress.XtraBars.Ribbon Namespace