Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

IModelCommonMemberViewItem.ImageSizeMode Property

Specifies how the current Property Editor must resize images.

Namespace: DevExpress.ExpressApp.Model

Assembly: DevExpress.ExpressApp.v19.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 applications.

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

See Also