Back to Devexpress

RibbonPageCategoryOptions.Alignment Property

windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-ribbonpagecategoryoptions-5d7a3430.md

latest2.6 KB
Original Source

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

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(RibbonPageCategoryAlignment.Default)]
[DXCategory("Behavior")]
[XtraSerializableProperty]
public RibbonPageCategoryAlignment Alignment { get; set; }
vb
<DXCategory("Behavior")>
<DefaultValue(RibbonPageCategoryAlignment.Default)>
<XtraSerializableProperty>
Public Property Alignment As RibbonPageCategoryAlignment

Property Value

TypeDefaultDescription
RibbonPageCategoryAlignmentDefault

Specifies the location of Ribbon Categories and their tabs.

|

Available values:

NameDescription
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 TypePath to Alignment
RibbonControl

.OptionsPageCategories .Alignment

|

See Also

RibbonPageCategoryOptions Class

RibbonPageCategoryOptions Members

DevExpress.XtraBars.Ribbon Namespace