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

Gets and sets whether the toolbar supports transparency.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DefaultValue(true)]
public bool AllowTransparency { get; set; }

#Property Value

Type Default Description
Boolean true

true if the toolbar supports transparency, otherwise false.

#Property Paths

You can access this nested property as listed below:

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

#Remarks

If the AllowTransparency property set to true, the toolbar supports a transparent display. You can customize transparency settings via the RibbonMiniToolbarOpacityOptions.OpacityDistance, RibbonMiniToolbarOpacityOptions.TransparencyDistance and RibbonMiniToolbarOpacityOptions.TransparencyDistanceWhenBarHovered properties.

If the AllowTransparency property set to false, the toolbar is always opaque. The RibbonMiniToolbarOpacityOptions.OpacityDistance, RibbonMiniToolbarOpacityOptions.TransparencyDistance and RibbonMiniToolbarOpacityOptions.TransparencyDistanceWhenBarHovered properties are ignored.

See Also