Back to Devexpress

RibbonMiniToolbarOpacityOptions.TransparencyDistance Property

windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-ribbonminitoolbaropacityoptions-db77d866.md

latest3.1 KB
Original Source

RibbonMiniToolbarOpacityOptions.TransparencyDistance Property

Gets and sets the minimum distance where the toolbar disappears.

Namespace : DevExpress.XtraBars.Ribbon

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(44)]
public int TransparencyDistance { get; set; }
vb
<DefaultValue(44)>
Public Property TransparencyDistance As Integer

Property Value

TypeDefaultDescription
Int3244

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

|

Property Paths

You can access this nested property as listed below:

Object TypePath 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.

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

See Also

AllowTransparency

OpacityDistance

TransparencyDistanceWhenBarHovered

RibbonMiniToolbarOpacityOptions Class

RibbonMiniToolbarOpacityOptions Members

DevExpress.XtraBars.Ribbon Namespace