Class SizeType
This controls how the image is stretched to fill the control.
Inheritance
Namespace: Telerik.Windows.Controls.Svg
Assembly: Telerik.Windows.Controls.dll
Syntax
public sealed class SizeType : Enum
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
public const SizeType ContentToSizeNoStretch
Field Value
SizeType
|
ContentToSizeStretch
The image will be stretched to fill the entire width and height.
Declaration
public const SizeType ContentToSizeStretch
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
public const SizeType None
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
public const SizeType SizeToContent
Field Value
SizeType
|
value__
Declaration
public int value__
Field Value
System.Int32
|