Welcome to MSDN Blogs Sign in | Join | Help

ParallaxUi - source posted

I've cleaned up the source to ParallaxUi a bit and am attaching it to this post as a .zip file.  This has a VisualStudio solution that contains three VisualStudio projects:

  • ParallaxUi - the custom decorator that creates the Parallax UI and exposes properties like rotation and methods like "implode".
  • ParallaxUiTest - a simple test app
  • ParallaxXbapTest - pretty much the same as ParallaxUiTest, but housed in an XBAP.

The most interesting files to look at are ParallaxUi\ParallaxUi.xaml* and ParallaxUiTest\Window1.*

 

Published Tuesday, April 03, 2007 12:05 AM by Greg Schechter
Filed under:

Attachment(s): ParallaxUi.zip

Comments

Wednesday, April 04, 2007 6:28 PM by WPF3D Team Blog

# 2D -> 3D -> 2D Transitions

WPF Architect Greg Schecter has written a few really cool 3D transitions for 2D elements. We've gotten

Friday, April 06, 2007 3:06 AM by aCoder

# Problem

When trying to test the decorator in one of my existing xaml files, I get a compiler error with the following message: Error 40 Cannot set Name attribute value 'MyPanel' on element 'StackPanel'. 'StackPanel' is under the scope of element 'ParallaxUi', which already had a name registered when it was defined in another scope.

Sunday, April 08, 2007 5:14 AM by aCoder

# Problem solved

After some google searching, it seems this is a limitation of V1.0 of wpf. The solution is to go over the control's source code, delete the xaml file declaring the resources used by the control and declare the resources in code, in the control's constructor. This is a limitation of all user controls that have partial implementation in a xaml file. I hope this helps ppl who bumped into this "bug" when putting the decorator into their project...

Wednesday, April 11, 2007 11:03 AM by Good News and No News: Cezar GuimarĂ£es

# 2D em 3D com WPF

Já pensou em animar objetos 2D? Quem saber fazer uma entrada animada, com caixas de texto se movendo,

New Comments to this post are disabled
 
Page view tracker