A newer version of this page is available. Switch to the current version.

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

Declaration

public RibbonPageCategoryCaptionAlignment PageCategoryAlignment { get; set; }

Property Value

Type Description
RibbonPageCategoryCaptionAlignment

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

Available values:

Name Description
Default

The same as the RibbonPageCategoryCaptionAlignment.Left option.

Left

Headers of contextual page categories are aligned to a Ribbon Control's left edge.

Right

Headers of contextual page categories are aligned to a Ribbon Control's right edge.

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