Hi all,

I've recently started developing a WPF application with Kinect, and I'm looking for a menu system. I came across this: http://www.codeproject.com/Articles/197132/Simple-WPF-Page-Transitions

Which I have edited slightly but it's not quite what I want.

The problem is that if I have a button on UserControl1 which when pressed triggers UerControl2, the new UserControl transitions behind the previous UserControl, which actually should be infront.

I have the project files here: http://dl.dropbox.com/u/6727433/Transitions.zip

Perhaps this isn't the best way of making a menus system? Just looking for advice, thanks.

I figured the problem, the pageTransitions element has to be after the content of the XAML.

Problem solved. Close thread please.

Mark thread as answered to close the thread. I was actually interested in this though; thank you for posting this.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.