Back to Devexpress

RibbonPageCollection.GetPageByText(String) Method

windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-ribbonpagecollection-dot-getpagebytext-x28-system-dot-string-x29.md

latest1.7 KB
Original Source

RibbonPageCollection.GetPageByText(String) Method

Returns a page by its caption (RibbonPage.Text).

Namespace : DevExpress.XtraBars.Ribbon

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public RibbonPage GetPageByText(
    string text
)
vb
Public Function GetPageByText(
    text As String
) As RibbonPage

Parameters

NameTypeDescription
textString

The caption of the required page matching the RibbonPage.Text property’s value.

|

Returns

TypeDescription
RibbonPage

A RibbonPage object that has the specified caption.

|

See Also

Name

Text

RibbonPageCollection Class

RibbonPageCollection Members

DevExpress.XtraBars.Ribbon Namespace