0

I'm trying to render a Button on a GeometryModel3D by using a VisualBrush. Is there a way I can handle the button's click event directly? (or is it that the VisualBrush only renders the image of a button and I am supposed to use the VisualTree in order to check if the button was pressed? )

Thanks!

4

1 回答 1

3

画笔只是画笔 - 您不会获得与 VisualBrush 的源元素相关联的事件或行为。如果您的目标是在 3D 网格上呈现交互式 2D 控件,请查看Viewport2DVisual3D 类

于 2010-08-04T05:10:50.367 回答