Resize Clipping Path on window resize in WPF

Posted by blobkat on Stack Overflow See other posts from Stack Overflow or by blobkat
Published on 2010-04-08T08:59:04Z Indexed on 2010/04/08 9:03 UTC
Read the original article Hit count: 865

Filed under:
|
|
|

Hello,

I was wondering how to resize a Clipping path dynamically when resizing the window. Right now I'm taking a rectangle in Expression Blend that resizes with the window. Applying this rectangle to a circle as a clipping path makes the rectangle fixed, and it won't resize anymore.

I've seen different ways of making clipping paths in XAML, in the Clip="" property as well as style markup. But I haven't succeeded yet in finding a proper XAML solution.

Can anyone point me in the right direction?

Thanks!

© Stack Overflow or respective owner

Related posts about wpf

Related posts about clipping