Skip to main content

SvgImageSizeMode Enum

Specifies size mode for images within the SvgImageBox control.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v23.2.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

Declaration

public enum SvgImageSizeMode

Members

Name Description
Clip

An image is not stretched.

Squeeze

An image is displayed as is if its actual size is smaller than the size of the container. If the image size is larger than the container’s size, the image is shrunk proportionally to fit the container’s bounds.

Stretch

An image is stretched to fit in the control’s area.

Zoom

An image is stretched proportionally. The image fits within the area of the container in at least one direction.

Related API Members

The following properties accept/return SvgImageSizeMode values:

See Also