I have made a component where you can draw rectangles on it. Now I would like to expose coordinates of rectangle in designer’s Properties (under Data) whenever user clicks on the rectangle.
I know that for vice versa I need to override the property change method but how can I get the coordinates in properties when user clicks on rectangle? Thank you for your help.