Skip to main content
Tab

HyperLinkProperties.ImageWidth Property

Gets or sets the width of the image displayed within the hyperlink editor control.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.2.dll

Declaration

[DefaultValue(typeof(Unit), "")]
public Unit ImageWidth { get; set; }

Property Value

Type Default Description
Unit String.Empty

A Unit value representing the image’s width.

Remarks

If the ImageWidth and HyperLinkProperties.ImageHeight properties of a hyperlink editor are not specified, then the image within the editor is displayed in its original size regardless of the editor’s height and width specified. Use the ImageWidth property to override the initial width of the displayed image. The image is stretched or shrunk as appropriate when the ImageWidth property is assigned.

Note

The ImageWidth property synchronizes its value with the editor’s ASPxHyperLink.ImageWidth property.

See Also