thanks Dave, its a useful sample, but I think you are able to get away with sliding one object behind another, which I do not want to do (although I may have to use as a last resort).
What I think I need is a RectAnimation, but this doesn't seem to be supported in Silverlight, so unless I can point a DoubleAnimation at the Rect.Width property of a RectangleGeometry, then I am not sure how I can animate the Clip rectangle for my Canvas. But all my attempts to animate Rect.Width have failed.
here's my Canvas
<Canvas x:Name="MidCanvas" Background="LightBlue" Canvas.Top="5" Canvas.Left="120" Width="500" Height="100">
<Canvas.Clip>
<RectangleGeometry x:Name="MidCanvasClipRect" Rect="0,0,500,100">
</RectangleGeometry>
</Canvas.Clip>
here's my attempt at animating the Clip Rect width, but it doesn't do anything
<Storyboard x:Name="collapse">
<DoubleAnimation Storyboard.TargetName="MidCanvasClipRect" Storyboard.TargetProperty="Rect.Width"
To="100" Duration="0:0:1" />
Mark
Mark Heath
http://mark-dot-net.blogspot.com/