Skip to main content
A newer version of this page is available. .

IModelStaticImage.SizeMode Property

Specifies the mode for display of the current Static Image.

Namespace: DevExpress.ExpressApp.Model

Assembly: DevExpress.ExpressApp.v18.2.dll

Declaration

ImageSizeMode SizeMode { get; set; }

Property Value

Type Description
ImageSizeMode

An ImageSizeMode enumeration value specifying the mode for display of the current Static Image.

Available values:

Name Description
Normal

The Image Property Editor displays the StaticImage in the upper-left corner. The image is clipped if it is larger than the Property Editor’s region.

StretchImage

The StaticImage stretches or shrinks to fit the Image Property Editor.

AutoSize

The Image Property Editor’s control is sized to the size of the StaticImage.

CenterImage

The StaticImage is centered inside the Image Property Editor. The StaticImage is clipped if it does not fit into the Property Editor’s region.

Zoom

The StaticImage‘s size is scaled to fit the the Image Property Editor. The StaticImage’s aspect ratio is retained.

See Also