Skip to main content
A newer version of this page is available. .

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.v19.1.dll

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

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