windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-ribbonminitoolbaropacityoptions-db77d866.md
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
[DefaultValue(44)]
public int TransparencyDistance { get; set; }
<DefaultValue(44)>
Public Property TransparencyDistance As Integer
| Type | Default | Description |
|---|---|---|
| Int32 | 44 |
The integer value that is the minimum distance where the toolbar disappears.
|
You can access this nested property as listed below:
| Object Type | Path to TransparencyDistance |
|---|---|
| RibbonMiniToolbar |
.OpacityOptions .TransparencyDistance
| | RibbonMiniToolbarOpacityOptions |
.Default .TransparencyDistance
|
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
TransparencyDistanceWhenBarHovered
RibbonMiniToolbarOpacityOptions Class