[vtkusers] render control hosting in wpf

Max smapersmaper at gmail.com
Thu Jun 13 08:03:09 EDT 2013


Hi mirco and thank you for your reply,
I checked your suggestion and you don't need to declare the control
dynamically,
you can do:

 xmlns:vtk="clr-namespace:Kitware.VTK;assembly=Kitware.VTK" MaxWidth="1200">
    <Grid>
        <WindowsFormsHost>
            <vtk:RenderWindowControl x:Name="renderWindowControl1"
Load="renderWindowControl1_Load" Disposed="renderWindowControl1_Disposed"/>
        </WindowsFormsHost>
    </Grid>

and it gives the same result(at least what i saw)
so the only thing i see is just to insert the debug mode lines in the
constructor as you suggested
(which just hides the problem but not solves it...)

BUt it is the best solution i can see right now, thank you again...


Max



--
View this message in context: http://vtk.1045678.n5.nabble.com/render-control-hosting-in-wpf-tp5721366p5721370.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list