kpozin
kpozin

Reputation: 26969

Showing a cross-fade (or other) transition when changing a control's content

I have a Silverlight control with a Content field. I'd like to be able to programmatically switch the child control that appears in that field, and to show an animated transition between the old content and the new. What's the best way to accomplish this?

Upvotes: 3

Views: 416

Answers (1)

iCollect.it Ltd
iCollect.it Ltd

Reputation: 93601

Try using a TransitioningContentContol instead of a ContentControl. How-to Video here (the control is in system.Windows.Controls.Layout.Toolkit)

It is now part of the released toolkit (the video is old).

Hope this helps.

Upvotes: 1

Related Questions