Stretch Enum
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.
Specifies how content is scaled to fill its allocated space.
public enum class Stretch
public enum Stretch
type Stretch =
Public Enum Stretch
- Inheritance
-
Stretch
Fields
| Name | Value | Description |
|---|---|---|
| None | 0 | Content preserves its original size. |
| Fill | 1 | Content is resized to fill the destination, aspect ratio is not preserved. |
| Uniform | 2 | Content is resized to fit the destination while preserving aspect ratio. |
| UniformToFill | 3 | Content is resized to fill the destination while preserving aspect ratio, clipping if necessary. |