Hi
I'm using RadDiagram (Telerik 2012 Q2), I want to detect my selected shape in a rad diagram. There is an event named ShapeClicked in RadDiagram object, but its sender parameter is a raddiagram (I think it should be a rad shape, i.e. the shape which has been clicked), how can I get the clicked/selected shape? Also shape object has a mouseleftbutton down event which can help me do my work, but it seems that this event is raised only for the first shape object created on the diagram
I've inserted a rad color picker in my project that is used to set/change rad diagram shape colors (it works fine) but I want to enable color detection of my SELECTED shape, so that when user selects a shape, the color picker gets its color, what should I do? I'm dynamically adding shapes to my diagram (diagram.items.add)
thanks
I'm using RadDiagram (Telerik 2012 Q2), I want to detect my selected shape in a rad diagram. There is an event named ShapeClicked in RadDiagram object, but its sender parameter is a raddiagram (I think it should be a rad shape, i.e. the shape which has been clicked), how can I get the clicked/selected shape? Also shape object has a mouseleftbutton down event which can help me do my work, but it seems that this event is raised only for the first shape object created on the diagram
I've inserted a rad color picker in my project that is used to set/change rad diagram shape colors (it works fine) but I want to enable color detection of my SELECTED shape, so that when user selects a shape, the color picker gets its color, what should I do? I'm dynamically adding shapes to my diagram (diagram.items.add)
thanks