windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-ribbonpage-dot-getgroupbyname-x28-system-dot-string-x29.md
Locates a page group with the specified name within the current page.
Namespace : DevExpress.XtraBars.Ribbon
Assembly : DevExpress.XtraBars.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
public RibbonPageGroup GetGroupByName(
string name
)
Public Function GetGroupByName(
name As String
) As RibbonPageGroup
| Name | Type | Description |
|---|---|---|
| name | String |
A string value that identifies the name of the group to be found. The group’s name is specified by the RibbonPageGroup.Name property.
|
| Type | Description |
|---|---|
| RibbonPageGroup |
A RibbonPageGroup object with the specified name. null if no page with the specified name has been found.
|
The following code snippets (auto-collected from DevExpress Examples) contain references to the GetGroupByName(String) method.
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 = ribbon.GetDashboardRibbonPage(DashboardBarItemCategory.ChartTools, DashboardRibbonPage.Design);
RibbonPageGroup group = page.GetGroupByName("Custom Properties");
if(group == null) {
RibbonPage page = ribbon.GetDashboardRibbonPage(DashboardBarItemCategory.ChartTools, DashboardRibbonPage.Design);
RibbonPageGroup group = page.GetGroupByName(ribonPageGroupName);
if (group == null)
dashboard-constant-lines/CS/ConstantLineExtension.Win/ConstantLineModule.cs#L110
RibbonPage page = ribbon.GetDashboardRibbonPage(DashboardBarItemCategory.ChartTools, DashboardRibbonPage.Design);
RibbonPageGroup group = page.GetGroupByName(ribonPageGroupName);
if(group == null) {
RibbonPage page = designer.Ribbon.GetDashboardRibbonPage(typeof(WebPageItemMetadata), DashboardRibbonPage.Design);
RibbonPageGroup group = page.GetGroupByName("URI");
if(group == null) {
Dim page As RibbonPage = ribbon.GetDashboardRibbonPage(DashboardBarItemCategory.ChartTools, DashboardRibbonPage.Design)
Dim group As RibbonPageGroup = page.GetGroupByName("Custom Properties")
If group Is Nothing Then
Dim page As RibbonPage = ribbon.GetDashboardRibbonPage(DashboardBarItemCategory.ChartTools, DashboardRibbonPage.Design)
Dim group As RibbonPageGroup = page.GetGroupByName(ribonPageGroupName)
If group Is Nothing Then
Dim page As RibbonPage = designer.Ribbon.GetDashboardRibbonPage(GetType(WebPageItemMetadata), DashboardRibbonPage.Design)
Dim group As RibbonPageGroup = page.GetGroupByName("URI")
If group Is Nothing Then
See Also