RepositoryItemHyperLinkEdit.ImageAlignment Property

Gets or sets the alignment of the image displayed within the edit box.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

[DXCategory("Behavior")]
[DefaultValue(HorzAlignment.Near)]
public HorzAlignment ImageAlignment { get; set; }
<DXCategory("Behavior")>
<DefaultValue(HorzAlignment.Near)>
Public Property ImageAlignment As HorzAlignment

Property Value

Type Default Description
HorzAlignment

Near

A HorzAlignment enumeration member which specifies the image's alignment.

Remarks

A hyperlink editor allows an image to be displayed within its edit box. The image is specified by the RepositoryItemHyperLinkEdit.Image property and can only be aligned horizontally. The available alignment options are listed in the table below.

Member Name

Description

Center

The image is centered within the edit box and the link's caption is hidden.

HyperLink_GlyphAlignment_Center

Default

The image is positioned on the edit box's left side.

Far

The image is positioned on the edit box's right side.

HyperLink_GlyphAlignment_Far

Near

The image is positioned on the edit box's left side.

HyperLink_GlyphAlignment_Near

See Also