Back to Devexpress

One Line Mode

aspnet-8902-components-site-navigation-and-layout-ribbon-concepts-one-line-mode.md

latest1.4 KB
Original Source

One Line Mode

  • Jun 16, 2022

The ASPxRibbon control can display all items within an active tab in one line, which makes the ribbon look more compact. To enable this mode, set the ASPxRibbon.OneLineMode property to true.

In one line mode, every ribbon element can be represented by a small image (16x16 px) and text. The table below lists properties that allow you to specify an element’s image and text.

ElementImageText
Gallery Bar ItemRibbonItemOneLineModeSettings.ImageRibbonItemOneLineModeSettings.Text
Other ItemsRibbonButtonItem.SmallImageRibbonItemBase.Text
Collapsed GroupRibbonGroupOneLineModeSettings.ImageRibbonGroupOneLineModeSettings.ShowExpandButtonText, RibbonGroup.Text

Run Demo: Ribbon - One Line Mode