RibbonControl Class
Represents the Ribbon Control.
Namespace: DevExpress.Xpf.Ribbon
Assembly: DevExpress.Xpf.Ribbon.v14.2.dll
#Declaration
[ToolboxTabName("DX.14.2: Navigation & Layout")]
[DXToolboxBrowsable]
public class RibbonControl :
Control,
IRibbonControl,
IBarsSerializableOwner,
ISupportInitialize,
ILogicalChildrenContainer,
IMergingSupport,
IMultipleElementRegistratorSupport,
IBarNameScopeSupport,
IInputElement,
IHierarchicalMergingSupport<RibbonControl>
#Remarks
The RibbonControl represents a visual control which can display various items (buttons, in-place editors, sub-menus, galleries, etc), by categorizing them into pages and page groups.
NOTE
Commands, submenus, static text, editors and other in-ribbon elements are represented by corresponding bar item objects. For these objects to be displayed within a Ribbon
Structurally, a RibbonControl consists of page categories, which contain ribbon pages. There is always one default page category (RibbonDefaultPageCategory). Plus, you can create any number of custom page categories (RibbonPageCategory) to implement contextual pages (pages that are made temporarily visible on specific events). In the image above, the RibbonControl contains only the default page category.The following image shows a RibbonControl with a custom Image Tools category containing a Format page:
For more information, see Ribbon Control.
#Examples
The following image shows the result: