Now this may be more trouble than it's worth but nevertheless, it'd be really useful to me right now.
What I'd like to know is how I might go about manipulating the Silverlight visual tree at runtime. Doing simple things like adding and removing controls is easy enough but when you start having to traverse the tree with any reasonable amount of complexity I find myself yearning for a JQuery style syntax (LINQ would be pretty cool too I suppose) to handle DOM node replacements, movements and the like.
So I guess the question is are there any libraries out there to make this an easier job or is there something baked in that I've missed?
You might be interested in this LINQ to Visual Tree implementation.
I use this code to get controls from the visual tree
Yes Linq extension methods are what you are after but you need to put inplace a litte infrastructure first:-
Now you can use Linq to query into the visual tree using Linq. Some examples:-
what version of silverlight is this? And what year of " Dec 13 at 13:13" is this post from?
in the current version of SL4 it does not seem to be there..