Skip to main content
.NET 6.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.v24.1.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public ImageSizeMode ImageSizeMode { get; set; }

Property Value

Type Description
ImageSizeMode

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.

Remarks

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

See Also