merlight |
09/04/14 11:52 AM |
Clipping child controls to parent
Is it possible?
I have a container control, with a background, and put some rows in it. Each row is created from a template with a label and a few icons. When a row is added/removed, the container needs to be resized. I started with resizeToFitDescendents, which worked fine. But now I want to animate the container's resizing. Problem is, if I show a newly added row before the resizing animation finishes, the row is outside the container. If I wait until resizing is done and then show the row, it's just weird. I'd like the container to "uncover" the new row as it grows.
|