Skip to main content
A newer version of this page is available. .

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

Declaration

[DXCategory("Behavior")]
[DefaultValue(RibbonPageCategoryAlignment.Default)]
[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
See Also