Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
StretchDirection Enumeration
Collapse the table of content
Expand the table of content

StretchDirection Enumeration

Describes the direction that content is scaled.

Namespace:  System.Windows.Controls
Assembly:  System.Windows (in System.Windows.dll)

public enum StretchDirection
<object property="enumMemberName"/>

Member nameDescription
Supported by Silverlight for Windows PhoneUpOnlyThe content scales upward only when it is smaller than the parent. If the content is larger, no scaling downward is performed.
Supported by Silverlight for Windows PhoneDownOnlyThe content scales downward only when it is larger than the parent. If the content is smaller, no scaling upward is performed.
Supported by Silverlight for Windows PhoneBothThe content stretches to fit the parent according to the Stretch property.

Silverlight

Supported in: 5, 4

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2015 Microsoft