windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-ribbonpage-4651c7e5.md
Gets the collection of Ribbon page groups owned by the current page.
Namespace : DevExpress.XtraBars.Ribbon
Assembly : DevExpress.XtraBars.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[Browsable(false)]
[XtraSerializableProperty(false, true, false)]
public virtual RibbonPageGroupCollection Groups { get; }
<Browsable(False)>
<XtraSerializableProperty(False, True, False)>
Public Overridable ReadOnly Property Groups As RibbonPageGroupCollection
| Type | Description |
|---|---|
| RibbonPageGroupCollection |
A RibbonPageGroupCollection which contains Ribbon page groups of the current page.
|
Use this property to access Ribbon page groups owned by the current page. You can use this property to add, remove and access specific pages.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Groups property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
RibbonPage page = designer.Ribbon.GetDashboardRibbonPage(typeof(SankeyItemMetadata), DashboardRibbonPage.Data);
RibbonPageGroup interactivityGroup = page.Groups[1];
BarItem drillDownBarItem = interactivityGroup.ItemLinks[2].Item;
Dim page As RibbonPage = designer.Ribbon.GetDashboardRibbonPage(GetType(TreeListItemMetadata), DashboardRibbonPage.Data)
Dim interactivityGroup As RibbonPageGroup = page.Groups(1)
Dim drillDownBarItem As BarItem = interactivityGroup.ItemLinks(2).Item
See Also