.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET 5.0+

IModelCommonMemberViewItem.ImageSizeMode Property

Specifies how the current Property Editor must resize images.

Namespace: DevExpress.ExpressApp.Model

Assembly: DevExpress.ExpressApp.v21.2.dll

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