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

Declaration

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

Property Value

Type Default Description
DevExpress.XtraBars.Ribbon.RibbonPageGroupAlignment

Near

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.

Ribbon - Right-aligned group

See Also