New to Telerik UI for WPFStart a free 30-day trial

This controls how the image is stretched to fill the control.

Definition

Namespace:Telerik.Windows.Controls.Svg

Assembly:Telerik.Windows.Controls.dll

Syntax:

C#
public enum SizeType

Fields

The image is scaled to fit the control without any stretching. Either X or Y direction will be scaled to fill the entire width or height.

C#
ContentToSizeNoStretch = 1

The image will be stretched to fill the entire width and height.

C#
ContentToSizeStretch = 2

The image is not scaled. The image location is translated so the top left corner of the image bounding box is moved to the top left corner of the image control.

C#
None = 0

The control will be resized to fit the un-scaled image. If the image is larger than the maximum size for the control, the control is set to maximum size and the image is scaled.

C#
SizeToContent = 3