RibbonMiniToolbarOpacityOptions.AllowTransparency Property
Gets and sets whether the toolbar supports transparency.
Namespace: DevExpress.XtraBars.Ribbon
Assembly: DevExpress.XtraBars.v20.2.dll
Declaration
[DefaultValue(true)]
public bool AllowTransparency { get; set; }
<DefaultValue(True)>
Public Property AllowTransparency As Boolean
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 |
|
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.