Skip to main content

RibbonMiniToolbarOpacityOptions.TransparencyDistance Property

Gets and sets the minimum distance where the toolbar disappears.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v24.2.dll

Declaration

[DefaultValue(44)]
public int TransparencyDistance { get; set; }

Property Value

Type Default Description
Int32 44

The integer value that is the minimum distance where the toolbar disappears.

Property Paths

You can access this nested property as listed below:

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

Remarks

The toolbar visibility depends on the distance from the mouse cursor to the toolbar (see the RibbonMiniToolbarOpacityOptions.OpacityDistance topic). The transparency distance is the minimum distance where the toolbar disappears. The TransparencyDistance value must be greater than the RibbonMiniToolbarOpacityOptions.OpacityDistance value.

Ribbon Mini Toolbar Distances

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

See Also