RibbonPageCollection.GetPageByText(String) Method

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

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v20.2.dll

Declaration

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

Parameters

Name Type Description
text String

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

Returns

Type Description
RibbonPage

A RibbonPage object that has the specified caption.

See Also