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.2.dll
NuGet Package: DevExpress.ExpressApp
#Declaration
public ImageSizeMode ImageSizeMode { get; set; }
#Property Value
Type | Description |
---|---|
Image |
An Image |
Available values:
Name | Description |
---|---|
Normal | The Image Property Editor displays the Static |
Stretch |
The Static |
Auto |
The Image Property Editor’s control is sized to the size of the Static |
Center |
The Static |
Zoom | The Static |
#Remarks
Currently, the ImageSizeMode.Zoom and ImageSizeMode.StretchImage modes are not supported in ASP.NET Web Forms applications.