I have a UniformGrid
with a number of Button
's as Children
. Each Button
has a Tag
with an ID, e.g. (dumbed down code):
MyUniformGrid.Children.Add(new Button {
Margin = new Thickness(5),
Tag = Query.GetUInt32("id"),
Width = 200
});
How can I select the child Button
object with an ID of 87? (as a for instance)
Intellisense isn't popping up with the Linq methods when I type MyUniformGrid.Children.
(after adding using System.Linq;
).