Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

SvgImageSizeMode Enum

Specifies size mode for images within the SvgImageBox control.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v24.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