A Tabbable 3d WPF Panel

A while back I started work on a custom 3D WPF Panel, that uses a viewport3D to host items. I wanted my custom Panel to be equally at home as a standalone Panel or as replacement for the standard StackPanel that is often seen within ItemsControl. I also wanted the following functionality from my 3D Panel

 

  • The user is able to tab around the items using CTRL+TAB
  • The 3D Panel would not show all items in 3D space, but rather would show a viewable window, such that it saved memory. Its my own kind of virtualization
  • The 3D Panel would allow items to have reflection or not
  • The 3D Panel would raise an event with the current FrameworkElement, when the user stopped tabbing, which could then be used to show in a custom control that I also wrote

 

I have managed to achieve this, but not without the help of not just 1 but 2 WPF heavy hitters. It would not have been possible without Josh Smith or Dr WPF, both of whom have been excellent in supporting this article. Josh for his original Adorner idea, which was used to to host the viewport3D. Although I don’t use this any more, it was still a cool idea, so thanks Josh. And Dr WPF, for his excellent ConceptualPanel, that allows children to be neither Logical or Visual, by the use of a clever (very clever) disconnected list of FrameworkElements.

It appears that this little idea of mine truly got people thinking as it not only inspired me but it also inspired Josh and Dr WPF to create their own articles over at codeproject. Both Josh and I are using something from Dr WPF article.

Here are the links to both Joshs and Dr WPFs articles

 

 

This article has been a huge challenge and I believe represents some of the finest work that I have done, though like I say I would not have been able to do this without Dr WPFs ConceptualPanel, which is truly brilliant. So make sure to check that out.

Here is a video of my 3D tabbing Panel in action

Click the image or here to view the video

I would suggest waiting for the ENTIRE video to finish streaming then watch it. It will make most sense that way.

 

Here is a link to the full WPF 3D Tabbing Panel article

 

Oh and THANKS Dr WPF, I owe you one big style. If you ever need a tour guide in London, I’m your man.

Advertisements

4 thoughts on “A Tabbable 3d WPF Panel

  1. John Henkel says:

    Nice.

    Was that an orion slave girl, or Mrs. Hulk in there? =D

  2. sacha says:

    She hulk all the way, she kinda sexy, for a cartoon. Puzzled, I shouldnt have these feeling for angry, green, big, woman….but I do…..wheres my shrink

  3. Ray Akkanson says:

    You have great knowledge in WPF.

    Ray Akkanson

  4. sacha says:

    Thanks Ray

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: