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.v20.2.dll


public RibbonPageCollection(
    RibbonControl ribbon,
    RibbonPageCategory category
Public Sub New(
    ribbon As RibbonControl,
    category As RibbonPageCategory


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.


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

See Also