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.TransparencyDistance Property

Gets and sets the minimum distance where the toolbar disappears.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#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