Skip to main content

BootstrapToolbarBootstrapSpecificSettings.RemoveItemBackgrounds Property

Specifies whether toolbar items must be rendered without/with default (btn-secondary) backgrounds.

Namespace: DevExpress.Web.Bootstrap

Assembly: DevExpress.Web.Bootstrap.v24.1.dll

NuGet Package: DevExpress.Web.Bootstrap

Declaration

[DefaultValue(false)]
public virtual bool RemoveItemBackgrounds { get; set; }

Property Value

Type Default Description
Boolean false

true, to render toolbar items without default backgrounds; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to RemoveItemBackgrounds
BootstrapToolbar
.SettingsBootstrap .RemoveItemBackgrounds

Remarks

Set the RemoveItemBackgrounds property to true, to apply the underlying control’s background to toolbar items.

BootstrapToolbar_Title

<dx:BootstrapToolbar runat="server">
  <SettingsBootstrap RemoveItemBackgrounds="true" />
  <SettingsAdaptivity Enabled="true" Title="New article" EnableCollapseRootItemsToIcons="true" MinRootItemsCount="4" />
  <Items>
    ...
  </Items>
</dx:BootstrapToolbar>
See Also