Tab

ImageEditPropertiesBase.ImageHeight Property

Gets or sets the height of the image displayed within the image control.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll

Declaration

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

Property Value

Type Default Description
Unit

String.Empty

A Unit value representing the image's height.

Remarks

If the image's height and width are not specified, the image is displayed in its original size. Use the ImageHeight property to override the initial height of the displayed image. If the image's height is specified, the displayed image is stretched or shrunk as appropriate to match the specified height.

NOTE

The ImageHeight property synchronizes its value with the editor's ASPxImageBase.Height property.

See Also