Skip to main content

RibbonPageCategory.GetPageByText(String) Method

Returns a Ribbon Page by its caption.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v24.2.dll

Declaration

public virtual RibbonPage GetPageByText(
    string pageText
)

Parameters

Name Type Description
pageText String

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

Returns

Type Description
RibbonPage

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

See Also