BootstrapSpreadsheet.RibbonMode Property

Specifies the type of the Spreadsheet toolbar.

Namespace: DevExpress.Web.Bootstrap

Assembly: DevExpress.Web.Bootstrap.v20.2.dll


public override SpreadsheetRibbonMode RibbonMode { get; set; }
Public Overrides Property RibbonMode As SpreadsheetRibbonMode

Property Value

Type Default Description


One of the SpreadsheetRibbonMode enumeration values.


The Spreadsheet control supports either an internal or external ribbon navigation element. Use the RibbonMode property to specify the ribbon type.

If this property is set to SpreadsheetRibbonMode.ExternalRibbon, a Ribbon control specified by the ASPxSpreadsheet.AssociatedRibbonID property is used as an external ribbon.

<dx:BootstrapRibbon ID="RibbonExternal" runat="server" ShowFileTab="false">
    <CssClasses Control="mb-2" />
<dx:BootstrapSpreadsheet runat="server" ActiveTabIndex="0" Height="500px" ShowConfirmOnLosingChanges="False"
    RibbonMode="ExternalRibbon" AssociatedRibbonID="RibbonExternal">

To customize ribbon tabs, use the BootstrapSpreadsheet.RibbonTabs property.


For more information on using the RibbonMode property, refer to the External Ribbon online demo.

See Also