Recommended

Skip Navigation LinksHome / Search

Search

 
Results Per Page

Found 4 results for Visual Tree.
Date between: <not defined> and <not defined>
Search in: News , Articles , Tips , Shows , Showcase , Books

Order by Publish Date   Ascending Title   Rating  

  • 0 comments  /  posted by  Silverlight Show  on  Mar 05, 2010 (5 months ago)
    This blog post of Colin Eberhardt demonstrates a Linq API which can be used to query the WPF / Silverlight Visual Tree. 

    What I will provide here is a brief overview of the Linq to Visual Tree API. The full sourcecode for this API is at the end of this article.

    The Linq to Visual Tree API defines a number of extension methods on DependencyObject that provide mechanisms for navigating to other DependencyObject instances.



  • 0 comments  /  posted by  Beat Kiener  on  Nov 10, 2009 (8 months ago)

    Beat Kiener has implemented a visual tree visualizing helper for the Silverlight environment.

    A Visual Tree visualizer enables you to view the visual tree while you are debugging in visual studio. It provides detailed information about all properties on every element in the visual tree, and a snapshot image of each element, allowing you to more easily debug complex WPF user interfaces.

  • 0 comments  /  posted by  Silverlight Show  on  Oct 21, 2009 (9 months ago)
    In this video tutorial Victor Gaudioso explains how to make a Silverlight Visual Tree Helper to help you find FrameworkElements in the Visual Tree.

    In this video I first show you how to cycle through all FrameworkElements in the main Grid.  I then show you how to make a new class called  ”>VTreeHelper with a Static method that allows you to loop trough the main Grid and look for a FrameworkElement by name.  I show you how to use this to enter the name of a FrameworkElement and then set its Visibility to Collapsed. This tutorial is for developers and not designers.

  • 0 comments  /  posted by  Silverlight Show  on  May 26, 2009 (more than a year ago)
    Jeff Brand has been hacking away at a side project and experimenting with Prism 2 and MVC/MVP/MVVM/et al design patterns and came upon the need to print some of the output from that was already on the screen.

    What I was really looking for was a way to print WYSIWYG style.  I wanted to take just the chart portion of the UI and send it to the printer.  A web search got me close - “Printing WPF window(visual) to printer and fit on a page”. The problem was that Pankaj’s solution was printing the entire window, and not just a smaller part of the overall visual tree.  Fortunately, the solution is pretty straightforward but I thought I would post it anyway.  So standing on the shoulder of giants, let me show you what I did.


Join the free SilverlightShow webinar 'Silverlight's Power Features: Data Binding in Action' on August 19th 2010, 10:00 am PDT.
In this session Gill Cleeren will make with a complete overview of the data binding features Silverlight 4 has to offer. He will discuss how data binding is the enabler for applying the MVVM pattern and commanding, and will end up reviewing Blend's support for data binding, including the use of design-time data. Read more | Register Now (hide this)