Click or drag to resize
Stretch Enumeration
Describes how content is resized to fill its allocated space.

Namespace: Windows.UI.Xaml.Media
Assembly: CSharpXamlForHtml5 (in CSharpXamlForHtml5.dll) Version: 1.0.0.0
Syntax
C#
public enum Stretch
Members
  Member nameValueDescription
None0 The content preserves its original size.
Fill1 The content is resized to fill the destination dimensions. The aspect ratio is not preserved.
Uniform2 The content is resized to fit in the destination dimensions while it preserves its native aspect ratio.
UniformToFill3 The content is resized to fill the destination dimensions while it preserves its native aspect ratio. If the aspect ratio of the destination rectangle differs from the source, the source content is clipped to fit in the destination dimensions.
See Also