Add Tag property to all objects

289
2
10-31-2017 10:14 AM
Status: Open
GeorgePadvorac
New Contributor II

Add a tag property to all objects, data type "object".

This would give us the ability to assign and track metadata with anything.  For example, we may have multiple graphicoverlay layers, each with a specific purpose.  The tag property would allow us to loop through the layers and depending on the tag assigned to it we could perform different functions.

Same goes for features, graphics, etc.

Tags (2)
2 Comments
KoryKramer

gpadvorac‌ What application are you working with?  For now I've placed this in the ArcGIS Desktop category with a tag of "tags" .  Feel free to update the Category and/or tags as appropriate.  Thanks!

GeorgePadvorac

Hi Kory,

This is for the ArcGIS Runtime for .net SDK for WPF, but I think it would apply for the entire SDK. Having most classes sealed really limits the ability to add special functionality which I miss. The Silverlight was more flexible. For example, in SL, I could create custom MarkerSymbles before the class was sealed.

Best Regards,

George