Back to Devexpress

RibbonControl.ImageAlignment Property

windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-ribboncontrol-f1671838.md

latest1.8 KB
Original Source

RibbonControl.ImageAlignment Property

Gets or sets the alignment of a background Ribbon image.

Namespace : DevExpress.XtraBars.Ribbon

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(HorzAlignment.Default)]
[DXCategory("Appearance")]
[XtraSerializableProperty]
public HorzAlignment ImageAlignment { get; set; }
vb
<DXCategory("Appearance")>
<DefaultValue(HorzAlignment.Default)>
<XtraSerializableProperty>
Public Property ImageAlignment As HorzAlignment

Property Value

TypeDefaultDescription
HorzAlignmentDefault

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

|

Available values:

NameDescription
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

RibbonControl Class

RibbonControl Members

DevExpress.XtraBars.Ribbon Namespace