RibbonMiniToolbarOpacityOptions.AllowTransparency Property
Gets and sets whether the toolbar supports transparency.
Namespace: DevExpress.XtraBars.Ribbon
Assembly: DevExpress.XtraBars.v19.2.dll
Declaration
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.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AllowTransparency property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.