One Line Mode
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.
Element | Image | Text |
---|---|---|
Gallery Bar Item | RibbonItemOneLineModeSettings.Image | RibbonItemOneLineModeSettings.Text |
Other Items | RibbonButtonItem.SmallImage | RibbonItemBase.Text |
Collapsed Group | RibbonGroupOneLineModeSettings.Image | RibbonGroupOneLineModeSettings.ShowExpandButtonText, RibbonGroup.Text |