is it possible to list all xaml image tags in c#?

Is there any way to get a list of all xaml tags (or any other tag) in c# in windows phone without giving them names?

Something like :

var list = this.GetElementsByTagName("Image");

Answers


You could do something like this.

foreach(UIElement item in YourContainer.Children){
    MessageBox.Show(item.GetType().ToString());
}

It will return something like System.Window.Control.Image


Need Your Help

Efficiently find the first of many keywords in a large NSString

objective-c regex string performance cocoa

I need to find all of the keywords in a large NSString (for a parsing source code), and my current implementation is too slow, but I'm unsure how to improve it.

Adding two numbers in php and retaining leading zeroes

php

I need to add numbers in php without changing the number format like below

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.