I am creating my own control from derived from drawingvisual class and drawn a rectangle. I want to enable mouse events for this object. how can I achieve this? I thing implementing IInputElement interface might be the solution. Could you guys suggest me how to implement this interface.
Thanks in advance