Click here to Skip to main content
11,429,154 members (62,616 online)
Click here to Skip to main content
Add your own
alternative version

Creating an Animated ContentControl

, 15 Dec 2010 CPOL
Shows how to build a content control which animates transitions between content.

	<Style TargetType="{x:Type local:AnimatedContentControl}">
		<Setter Property="Template">
				<ControlTemplate TargetType="{x:Type local:AnimatedContentControl}">
						<ContentPresenter Content="{TemplateBinding Content}" x:Name="PART_MainContent" />
						<Rectangle x:Name="PART_PaintArea" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" />

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Software Developer ABB
Sweden Sweden
My name is Isak Savo and I work as a Research Engineer at ABB Corporate Research in Västerås, Sweden. My work is focused around user experience which includes a lot of prototyping of new solutions for user interfaces and user interaction.

While I have a background in C programming in a Linux environment, my daily work is mostly spent in Windows using C# and WPF.
Follow on   Twitter

| Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.150428.2 | Last Updated 16 Dec 2010
Article Copyright 2010 by isaks
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid