Back to Devexpress

RibbonPage.ImageAlign Property

windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-ribbonpage-f090ab63.md

latest2.0 KB
Original Source

RibbonPage.ImageAlign Property

Gets or sets the alignment of the image displayed within the page’s header. This property is obsolete. Use the ImageOptions property instead.

Namespace : DevExpress.XtraBars.Ribbon

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[Browsable(false)]
[DefaultValue(HorzAlignment.Default)]
[EditorBrowsable(EditorBrowsableState.Never)]
[XtraSerializableProperty]
public HorzAlignment ImageAlign { get; set; }
vb
<Browsable(False)>
<EditorBrowsable(EditorBrowsableState.Never)>
<DefaultValue(HorzAlignment.Default)>
<XtraSerializableProperty>
Public Property ImageAlign As HorzAlignment

Property Value

TypeDefaultDescription
HorzAlignmentDefault

A HorzAlignment enumeration value that specifies the image’s horizontal alignment.

|

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.

|

See Also

ImageOptions

RibbonPage Class

RibbonPage Members

DevExpress.XtraBars.Ribbon Namespace