Skip to main content

RibbonMiniToolbarOpacityOptions.AllowTransparency Property

Gets and sets whether the toolbar supports transparency.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v24.2.dll

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