A newer version of this page is available. Switch to the current version.

IModelCommonMemberViewItem.ImageSizeMode Property

Specifies how the current Property Editor must resize images.

Namespace: DevExpress.ExpressApp.Model

Assembly: DevExpress.ExpressApp.v18.2.dll


ImageSizeMode ImageSizeMode { get; set; }

Property Value

Type Default Description


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

Available values:

Name Description

The Image Property Editor displays the StaticImage in the upper-left corner. The image is clipped if it is larger than the Property Editor’s region.


The StaticImage stretches or shrinks to fit the Image Property Editor.


The Image Property Editor’s control is sized to the size of the StaticImage.


The StaticImage is centered inside the Image Property Editor. The StaticImage is clipped if it does not fit into the Property Editor’s region.


The StaticImage‘s size is scaled to fit the the Image Property Editor. The StaticImage’s aspect ratio is retained.


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