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.1.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 |
|