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.