Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

RibbonControl.ImageAlignment Property

Gets or sets the alignment of a background Ribbon image.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DefaultValue(HorzAlignment.Default)]
[DXCategory("Appearance")]
[XtraSerializableProperty]
public HorzAlignment ImageAlignment { get; set; }

#Property Value

Type Default Description
HorzAlignment Default

A HorzAlignment enumerator value that specifies the alignment of a background Ribbon image.

Available values:

Name Description
Default

Places an object or text at the default position, which is determined by a control.

Near

Places an object/text at a near position.

Center

Centers an object or text within a region.

Far

Places an object/text at a far position.

#Remarks

Use the RibbonControl.Image property to specify the background image.

See Also