IModelCommonMemberViewItem.ImageSizeMode Property
Specifies how the current Property Editor must resize images.
Namespace: DevExpress.ExpressApp.Model
Assembly: DevExpress.ExpressApp.v24.2.dll
NuGet Package: DevExpress.ExpressApp
#Declaration
[ModelBrowsable(typeof(ImagePropertyEditorCalculator))]
[DefaultValue(ImageSizeMode.Zoom)]
ImageSizeMode ImageSizeMode { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Image |
Zoom | 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.
This property is considered for image type properties. For details, refer to the ImageEditorAttribute class description.