Skip to main content

RibbonPageCollection(RibbonControl, RibbonPageCategory) Constructor

Initializes a new instance of the RibbonPageCollection class with the specified RibbonControl and RibbonPageCategory objects.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v24.2.dll

Declaration

public RibbonPageCollection(
    RibbonControl ribbon,
    RibbonPageCategory category
)

Parameters

Name Type Description
ribbon RibbonControl

A RibbonControl which will own the created collection.

category RibbonPageCategory

A RibbonPageCategory object that specifies the category to which the page collection is associated. This value is assigned to the RibbonPageCollection.Category property.

Remarks

This constructor is used to initialize the RibbonPageCategory.Pages collection. Generally, there is no need to use it directly from your code.

See Also