Skip to main content
All docs
V26.1
  • BootstrapToolbarBootstrapSpecificSettings.RemoveItemBackgrounds Property

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

    Namespace: DevExpress.Web.Bootstrap

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

    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