RibbonControl.ExpandCollapseItem Property
Gets the bar item that encapsulates the Ribbon expand/collapse functionality.
Namespace: DevExpress.XtraBars.Ribbon
Assembly: DevExpress.XtraBars.v18.2.dll
Declaration
Property Value
Type | Description |
---|---|
BarButtonItem | A BarButtonItem object that encapsulates the Ribbon expand/collapse functionality. |
Remarks
The Ribbon Control provides an expand/collapse button that allows an end-user to hide/restore the RibbonControl’s pages. By default, this button is displayed on the right of the Ribbon Control and to the left of the page header items (see RibbonControl.ShowExpandCollapseButton).
The ExpandCollapseItem property can be used to access a bar item that encapsulates the Ribbon expand/collapse functionality. You can display this item within any Page Group or Quick Access Toolbar. To do this, add a link to this bar item to a corresponding ItemLinks collection (RibbonPageGroup.ItemLinks or RibbonQuickAccessToolbar.ItemLinks).