Enum
SizeType

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

Definition

Namespace:Telerik.Windows.Controls.Svg

Assembly:Telerik.Windows.Controls.dll

Syntax:

cs-api-definition
public enum SizeType

Fields

ContentToSizeNoStretch

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.

Declaration

cs-api-definition
ContentToSizeNoStretch = 1

Field Value

SizeType

ContentToSizeStretch

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

Declaration

cs-api-definition
ContentToSizeStretch = 2

Field Value

SizeType

None

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.

Declaration

cs-api-definition
None = 0

Field Value

SizeType

SizeToContent

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.

Declaration

cs-api-definition
SizeToContent = 3

Field Value

SizeType