windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-ribbonpagecategoryoptions-5d7a3430.md
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.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[DefaultValue(RibbonPageCategoryAlignment.Default)]
[DXCategory("Behavior")]
[XtraSerializableProperty]
public RibbonPageCategoryAlignment Alignment { get; set; }
<DXCategory("Behavior")>
<DefaultValue(RibbonPageCategoryAlignment.Default)>
<XtraSerializableProperty>
Public Property Alignment As RibbonPageCategoryAlignment
| 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.
|
You can access this nested property as listed below:
| Object Type | Path to Alignment |
|---|---|
| RibbonControl |
.OptionsPageCategories .Alignment
|
See Also
RibbonPageCategoryOptions Class