Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

RibbonPageCategoryOptions.Alignment Property

Gets or sets whether categories and their tabs are shown imediatelly after the default category, or anchored to the right Ribbon edge. When this setting equals Default, the category location depends on the current Ribbon style (RibbonControl.RibbonStyle) and active Skin.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DefaultValue(RibbonPageCategoryAlignment.Default)]
[DXCategory("Behavior")]
[XtraSerializableProperty]
public RibbonPageCategoryAlignment Alignment { get; set; }

#Property Value

Type Default Description
RibbonPageCategoryAlignment Default

Specifies the location of Ribbon Categories and their tabs.

Available values:

Name Description
Default

The same as the RibbonPageCategoryAlignment.Left option.

Left

Headers of contextual page categories are aligned to a RibbonControl’s left edge.

Right

Headers of contextual page categories are aligned to a RibbonControl’s right edge.

#Property Paths

You can access this nested property as listed below:

Object Type Path to Alignment
RibbonControl
.OptionsPageCategories .Alignment
See Also