Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

RibbonMiniToolbarOpacityOptions.TransparencyDistanceWhenBarHovered Property

Gets and sets the distance where a toolbar disappears, provided that it has been hovered with a mouse.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DefaultValue(176)]
public int TransparencyDistanceWhenBarHovered { get; set; }

#Property Value

Type Default Description
Int32 176

The integer value that is the distance where a toolbar disappears, provided that it has been hovered with a mouse.

#Property Paths

You can access this nested property as listed below:

Object Type Path to TransparencyDistanceWhenBarHovered
RibbonMiniToolbar
.OpacityOptions .TransparencyDistanceWhenBarHovered
RibbonMiniToolbarOpacityOptions
.Default .TransparencyDistanceWhenBarHovered

#Remarks

The toolbar visibility depends on the distance from the mouse cursor to the toolbar (see the RibbonMiniToolbarOpacityOptions.OpacityDistance topic). The TransparencyDistanceWhenBarHovered property specifies the distance where a toolbar disappears, provided that it has been hovered with a mouse. The RibbonMiniToolbarOpacityOptions.TransparencyDistance value must be greater than the RibbonMiniToolbarOpacityOptions.TransparencyDistance value.

Ribbon Mini Toolbar Distances

To make the toolbar always opaque, set the RibbonMiniToolbarOpacityOptions.AllowTransparency property to false.

See Also