Back to Devexpress

RibbonPageCategory.GetPageByText(String) Method

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

latest1.8 KB
Original Source

RibbonPageCategory.GetPageByText(String) Method

Returns a Ribbon Page by its caption.

Namespace : DevExpress.XtraBars.Ribbon

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public virtual RibbonPage GetPageByText(
    string pageText
)
vb
Public Overridable Function GetPageByText(
    pageText As String
) As RibbonPage

Parameters

NameTypeDescription
pageTextString

A string that represents the caption of the page to be located. The page’s caption is specified by the RibbonPage.Text property.

|

Returns

TypeDescription
RibbonPage

A RibbonPage object with the specified caption; null if there is no page with the specified caption.

|

See Also

Text

Pages

RibbonPageCategory Class

RibbonPageCategory Members

DevExpress.XtraBars.Ribbon Namespace