Nov 5, 2012 at 9:08 AM
Edited Nov 5, 2012 at 9:08 AM
Thanks for replying. I was asking if it is possible as I can't get it to work. If I add a ModelUIElement3D object as a child of a ContainerUIElement3D object, and add the ContainerUIElement3D object as a child of a SortingVisual3D
object, I find that the mouse events are not fired.
e.g. (geometry code excluded)
var element = new ModelUIElement3D();
element.Model = geometry;
element.MouseDown += this.ContainerElementMouseDown;
var containerUI = new ContainerUIElement3D();
var uiTransparentElements = new SortingVisual3D();
It is not too big a deal since I could use VisualTreeHelper.HitTest instead of ContainerUIElement3D, but I was wondering if I was missing something simple.