Aracılığıyla paylaş


Viewbox.StretchDirection Property

Definition

Gets or sets the StretchDirection, which determines how scaling is applied to the contents of a Viewbox.

public:
 property StretchDirection StretchDirection { StretchDirection get(); void set(StretchDirection value); };
StretchDirection StretchDirection();

void StretchDirection(StretchDirection value);
public StretchDirection StretchDirection { get; set; }
var stretchDirection = viewbox.stretchDirection;
viewbox.stretchDirection = stretchDirection;
Public Property StretchDirection As StretchDirection
<ViewBox StretchDirection="stretchDirectionMemberName" />

Property Value

A StretchDirection, which determines how scaling is applied to the contents of a Viewbox. The default is Both.

Applies to