RibbonControl.PageCategoryAlignment Property

Gets or sets the alignment of custom page categories, which display contextual tab pages.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

[DXCategory("Behavior")]
[DefaultValue(RibbonPageCategoryAlignment.Default)]
[XtraSerializableProperty]
[Browsable(false)]
public RibbonPageCategoryAlignment PageCategoryAlignment { get; set; }
<DXCategory("Behavior")>
<DefaultValue(RibbonPageCategoryAlignment.Default)>
<XtraSerializableProperty>
<Browsable(False)>
Public Property PageCategoryAlignment As RibbonPageCategoryAlignment

Property Value

Type Default Description
RibbonPageCategoryAlignment

Default

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

Remarks

Custom page categories are stored in the RibbonControl.PageCategories collection.

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

CD_RibbonPageCategory_ContextTabsColored

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

CD_RibbonPageCategory_ContextTabsColoredRight

See Also