Skip to main content
.NET Framework 4.5.2+

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.v22.2.dll

NuGet Package: DevExpress.ExpressApp


public ImageSizeMode ImageSizeMode { get; set; }

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 Web Forms applications.

See Also