Hi Keith,
The following code should provide the coordinates of the top-left corner of the collapse button of a TreeNodeAdv in terms of screen coordinates :
Point point = this.treeViewAdv1.PointToScreen(this.treeViewAdv1.NodeToPoint(node));
point = new Point (point.X+node.NodeX, point.Y);
Please refer to the
test sample attached that illustrates this. Here the mouse cursor gets positioned appropriately when the buttons are clicked. Let me know if this works for you.
We have considered this as a feature request (feature# 188) and will add a CollapseButtonRectangle property to the TreeNodeAdv in the near future. We appreciate your continued interest in Syncfusion products.
Regards,
Guru Patwal
Syncfusion, Inc.