Back to Devexpress

SvgImageSizeMode Enum

windowsforms-devexpress-dot-xtraeditors-fa418a02.md

latest1.5 KB
Original Source

SvgImageSizeMode Enum

Specifies size mode for images within the SvgImageBox control.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.Utils.v25.2.dll

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

Declaration

csharp
public enum SvgImageSizeMode
vb
Public Enum SvgImageSizeMode

Members

NameDescription
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.

|

The following properties accept/return SvgImageSizeMode values:

See Also

SizeMode

DevExpress.XtraEditors Namespace