RibbonPageCategoryCollection.GetCategoryByName(String) Method

Returns a category by its name (RibbonPageCategory.Name).

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v20.2.dll

Declaration

public RibbonPageCategory GetCategoryByName(
    string name
)
Public Function GetCategoryByName(
    name As String
) As RibbonPageCategory

Parameters

Name Type Description
name String

The name of the required category matching the RibbonPageCategory.Name property's value.

Returns

Type Description
RibbonPageCategory

A RibbonPageCategory object that has the specified name.

See Also