Skip to main content
Tab

ImageEditPropertiesBase.ImageHeight Property

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

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