public View GetElement(string elementName)
{
var child = map as IElements;
if (child != null /* && child.ElementDictionary.ContainsKey(elementName) */) {
return child.ElementDictionary[elementName];
}
Event<Error>.Raise("View.GetElement","object is not collection ");
return null;
}