The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
StretchDirection Enumeration
Silverlight
Describes the direction that content is scaled.
Namespace: System.Windows.Controls
Assembly: System.Windows (in System.Windows.dll)
| Member name | Description | |
|---|---|---|
![]() | UpOnly | The content scales upward only when it is smaller than the parent. If the content is larger, no scaling downward is performed. |
![]() | DownOnly | The content scales downward only when it is larger than the parent. If the content is smaller, no scaling upward is performed. |
![]() | Both | The content stretches to fit the parent according to the Stretch property. |
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.
Community Additions
Show:
