Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

Grow animation to take up visibile scroll view area and then shirk back down to original size and position!

$
0
0

Dear All, 

I have a wpf aplication in which i am trying to grow a red stackpanel item on a canvas to fit the available space on the scrollviewer.

i have included a picture of what i am wanting to acheive.

I think i am wanting to create a storyboard with a render transform and then a scale transform, but when i do this i can only scale it up in equally from all sides.

If the way i am wanting to do it is not possible, could anyone describe how i can at least take the red stack panel item, center it in the scrollviewer and then expand it to take up all available space.

kindest regards


james




Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>