Viewbox.StretchDirection Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.