1 / 10

Dive into WPF Playing tricks with the Visual Tree

Dive into WPF Playing tricks with the Visual Tree. Pavan Podila Strategic Research, Liquidnet Holdings http://blog.pixelingene.com. DragDropManager GlassWindow PennerDoubleAnimation ElementFlow. http://www.codeplex.com/fluidkit. ImageButton BalloonDecorator

Download Presentation

Dive into WPF Playing tricks with the Visual Tree

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Dive into WPFPlaying tricks with the Visual Tree Pavan Podila Strategic Research, Liquidnet Holdings http://blog.pixelingene.com

  2. DragDropManager GlassWindow PennerDoubleAnimation ElementFlow http://www.codeplex.com/fluidkit ImageButton BalloonDecorator ItemSkimmingPanel + SkimmingContextAdorner

  3. Game Plan • Basics about the WPF Visual Tree • Usage • Measure • Arrange • GetVisualChild • VisualChildrenCount • Building ElementFlow from scratch • Quick demo of ElementFlow and other goodies in FluidKit

  4. Basics of the Visual Tree • The WPF abstraction • Every visible object on the application comes from the the Visual Tree • Logical + Visual

  5. Logical Tree

  6. Visual Tree Button

  7. Logical + Visual Logical (macro) ControlTemplate DataTemplate Visual (micro) Top-level layout of Window, UserControl

  8. Layout Parent GetVisualChild() VisualChildrenCount Measure “What’s your size?” “My size” Arrange “Do layout” Child

  9. C O O M E D

  10. http://groups.google.com/group/wpf-disciples?hl=en

More Related