Closed GoogleCodeExporter closed 9 years ago
Hi,
Yes, sorry, this is a bug as the access modifiers for the two properties you
need in the KmlTreeViewNode are set to internal and should be public. This was
a mistake that was introduced when the code for the nodes was taken out of the
KmlTreeView class.
I need to set these two to public in the next commit (will be this weekend)
internal dynamic ApiObject { get; private set; }
internal string ApiObjectType { get; private set; }
You are also correct KmlTreeViewNode.Name is now set to the API objects ID
rather than the objects type name. I introduced ApiObjectType property so that
the value was still accessible...(doh!). This change was so that you can easily
find a node in the tree from its API ID, there is now a simple function for
this.
public KmlTreeViewNode GetNodeById(string id)
So, I will commit the fix asap - thanks!
Fraser.
Original comment by fraser.c...@gmail.com
on 20 Aug 2011 at 7:41
...ok *this* weekend
Original comment by fraser.c...@gmail.com
on 18 Sep 2011 at 4:43
Fixed in the last commit
Original comment by fraser.c...@gmail.com
on 8 Oct 2011 at 12:51
Original issue reported on code.google.com by
kco...@gmail.com
on 19 Aug 2011 at 11:06