Hello,
I have a RadDiagram in a winform that displays an image (RadDiagramShape) with a box (RadDiagramShape) over it. A third RadDiagramShape is used to display the region of the first image that the box is over. Mouse events to control dragging and mouse scroll to make the box larger/smaller so that the user can move around the image and zoom in/out. Similarly, the third shape has events for dragging and mouse scroll which controls the box as well.
I am trying to enable similar functionality with touch gestures, but am having some difficulties. I can only seem to enable gestures for the diagram itself, but not for the RadDiagramShapes within it. When I allow zoom gestures on the RadDiagram, it zooms the RadDiagram even though IsZoomEnabled = false. This seems to prevent the zoom for the mouse controls, but not for the gestures. It also moves the diagram around in some cases, although I can't seem to figure out what is moving as the position isn't changing. Pan and Drag are not enabled.
I do not want to zoom into or move the RadDiagram. I want to catch the gesture, and control the size of the box so that the user can zoom in/out as they do with the mouse controls.
In order to do this, I would have to cancel the event and manually process, but I can't seem to figure out a way to do this.
Any ideas?
Thanks