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.v22.1.dll

NuGet Package: DevExpress.Win.Navigation

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