Skip to main content
.NET 6.0+

IModelCommonMemberViewItem.ImageSizeMode Property

Specifies how the current Property Editor must resize images.

Namespace: DevExpress.ExpressApp.Model

Assembly: DevExpress.ExpressApp.v23.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

[ModelBrowsable(typeof(ImagePropertyEditorCalculator))]
[DefaultValue(ImageSizeMode.Zoom)]
ImageSizeMode ImageSizeMode { get; set; }

Property Value

Type Default Description
ImageSizeMode Zoom

An ImageSizeMode enumeration value specifying how the current Property Editor must resize images.

Remarks

Currently, the ImageSizeMode.Zoom and ImageSizeMode.StretchImage modes are not supported in ASP.NET Web Forms applications.

This property is considered for image type properties. For details, refer to the ImageEditorAttribute class description.

See Also