The requested page is not available for the requested platform. You are viewing the content for Default platform.

IModelCommonMemberViewItem.ImageSizeMode Property

Specifies how the current Property Editor must resize images.

Namespace: DevExpress.ExpressApp.Model

Assembly: DevExpress.ExpressApp.v19.1.dll

Declaration

[ModelBrowsable(typeof(ImagePropertyEditorCalculator))]
[DefaultValue(ImageSizeMode.Zoom)]
ImageSizeMode ImageSizeMode { get; set; }
<ModelBrowsable(GetType(ImagePropertyEditorCalculator))>
<DefaultValue(ImageSizeMode.Zoom)>
Property ImageSizeMode As ImageSizeMode

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