Skip to main content

RibbonControl.PageCategoryAlignment Property

Gets or sets the alignment of custom page categories, which display contextual tab pages. This is a dependency property.

Namespace: DevExpress.Xpf.Ribbon

Assembly: DevExpress.Xpf.Ribbon.v14.2.dll

#Declaration

public RibbonPageCategoryCaptionAlignment PageCategoryAlignment { get; set; }

#Property Value

Type Description
RibbonPageCategoryCaptionAlignment

A RibbonPageCategoryCaptionAlignment value that specifies the alignment of custom page categories.

#Remarks

Custom page categories, represented by RibbonPageCategory objects, are stored in the RibbonControl's Items collection.

If the PageCategoryAlignment property is set to Left or Default, custom page categories are displayed immediately to the right of the RibbonControl's default pages.

If the PageCategoryAlignment property is set to Right, custom page categories are anchored to the RibbonControl's right edge.

See Also