RibbonEmptyAreaImageOptions.AlwaysVisible Property
Gets or sets whether the Ribbon can clip the Empty Area Image when there is not enough free space to display this image according to its SizeMode.
Namespace: DevExpress.XtraBars.Ribbon
Assembly: DevExpress.XtraBars.v25.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
[DefaultValue(true)]
[DXCategory("Layout")]
[XtraSerializableProperty]
public bool AlwaysVisible { get; set; }
Property Value
| Type | Default | Description |
|---|---|---|
| Boolean | true |
|
Property Paths
You can access this nested property as listed below:
| Object Type | Path to AlwaysVisible |
|---|---|
| RibbonControl |
|
Remarks
When a user resizes a Ribbon, the Empty Area Image is moved, resized, clipped, or hidden. The exact behavior depends on a combination of the AlwaysVisible and SizeMode properties.
SizeModeis “Stretch”: An Empty Area Image can be resized without limitations and occupies any available space; theAlwaysVisibleproperty is ignored.
SizeModeis “Default”, “Zoom”, or “Squeeze”: An Empty Area Image is resized until it reaches a minimum size. Further resize forces the Ribbon to either clip this image (ifAlwaysVisibleistrue), or completely hide it (ifAlwaysVisibleisfalse).
SizeModeis “Normal”: An Empty Area Image cannot be resized and is always displayed as is. Resizing a Ribbon causes this image to move closer to the last visible Page Group. When the gap between this group and the image is closed, the image is either clipped (ifAlwaysVisibleistrue) or hidden (ifAlwaysVisibleisfalse).