RibbonPageCategory.GetPageByText(String) Method

Returns a Ribbon Page by its caption.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

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

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