Back to Devexpress

RibbonPageGroup.Alignment Property

windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-ribbonpagegroup-718eff86.md

latest1.7 KB
Original Source

RibbonPageGroup.Alignment Property

Gets or sets whether this RibbonPageGroup should be aligned to the left (default) or right Ribbon side.

Namespace : DevExpress.XtraBars.Ribbon

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(RibbonPageGroupAlignment.Near)]
[DXCategory("Appearance")]
[XtraSerializableProperty]
public RibbonPageGroupAlignment Alignment { get; set; }
vb
<DXCategory("Appearance")>
<DefaultValue(RibbonPageGroupAlignment.Near)>
<XtraSerializableProperty>
Public Property Alignment As RibbonPageGroupAlignment

Property Value

TypeDefaultDescription
DevExpress.XtraBars.Ribbon.RibbonPageGroupAlignmentNear

Set RibbonPageGroupAlignment.Far to align the group to the right Ribbon edge; otherwise, RibbonPageGroupAlignment.Near.

|

Remarks

The figure below illustrates the right-aligned “Help” Ribbon Group.

See Also

RibbonPageGroup Class

RibbonPageGroup Members

DevExpress.XtraBars.Ribbon Namespace