Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 1001 Bytes

compositionsurfacebrush_stretch.md

File metadata and controls

24 lines (16 loc) · 1001 Bytes
-api-id -api-type
P:Microsoft.UI.Composition.CompositionSurfaceBrush.Stretch
winrt property

Microsoft.UI.Composition.CompositionSurfaceBrush.Stretch

-description

Controls the scaling that is applied to the contents the ICompositionSurface with respect to the size of the SpriteVisual that is being painted.

-property-value

Controls how the brush's content is scaled with respect to the size of the SpriteVisual it is painted onto.

If a CompositionSurfaceBrush is input as the Source to a CompositionNineGridBrush, the CompositionSurfaceBrush.Stretch property specifies how the center of the Nine-Grid is stretched with respect to the size of the SpriteVisual associated with the CompositionNineGridBrush.

-remarks

-examples

-see-also