.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

ImageEditorAttribute.ImageSizeMode Property

Specifies how images persisted by the target byte array property must be resized in Image Property Editors.

Namespace: DevExpress.Persistent.Base

Assembly: DevExpress.ExpressApp.v20.2.dll


public ImageSizeMode ImageSizeMode { get; set; }
Public Property ImageSizeMode As ImageSizeMode

Property Value

Type Description

An ImageSizeMode enumeration value that specifies how images represented by the target Image property must be resized in Image Property Editors. The default value is specified by the ImageSizeMode property of the Application Model's BOModel | <Class> | OwnMembers | <Member> node, that represents the target Image property.


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

See Also