public static object GetObjectData(MapElement obj) { try { return(obj.GetValue(ObjectDataProperty)); } catch (Exception e) { Debug.WriteLine(e); throw; } }
public static object GetObjectData(MapElement obj) { return(obj.GetValue(ObjectDataProperty)); }
public static string GetElementType(MapElement element) { return((string)element.GetValue(ElementTypeProperty)); }
public static string GetElementType(MapElement element) { return (string)element.GetValue(ElementTypeProperty); }