Skip to content

Image.StretchDirection property

Defined in

Type: Image Namespace: CrissCross.WPF.UI.Controls Assembly: CrissCross.WPF.UI.dll

Applies to

net10.0-windows10.0.19041, net9.0-windows10.0.19041, net8.0-windows10.0.19041, net481

public StretchDirection StretchDirection { get; set; }

Summary: Gets or sets the stretch direction of the Viewbox, which determines the restrictions on scaling that are applied to the content inside the Viewbox. For instance, this property can be used to prevent the content from being smaller than its native size or larger than its native size.

Returns: StretchDirection