c# - Animate height of groupbox from 0 to auto -


i have groupboxes acting expanders in application. when need colapse groupbox set height equal 0. when need expand set it's height equal auto (double.nan) posible storyboard. how know auto height in advance. expression blend not enable me animate auto.

enter image description here

you can use scaletransform this

<groupbox header="groupbox">     <groupbox.rendertransform>         <scaletransform scaley="1"/>     </groupbox.rendertransform> </groupbox> 

when collapse groupbox set scaletransform.scalex 0. , when expand set 1.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -