Question

When clipping a WPF element using a RectangleGeometry, part of the original element will never be shown. Can I then crop to this part of the visual, so that the remainder is stretched to fill the parent?

Was it helpful?

Solution

You can clip and put it in a Viewbox to stretch as needed.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top