vb.net - WPF ListView/ItemsControl Drag Drop Adorner -


I have found this and I believe my conversion is complete, but one thing is still not working Tried to get it as I did and removed too many hair. Hopefully someone can help me find out what I'm missing.

OK, drag & amp; Drop code works fine, I just do not get the entry adoner working in vb.net, I have setup breakpoints in code and all the code is being executed, but the Insertion Edender for me is not being displayed even here. That's also called the Drawline Functions!

I am getting damaged and I need it in vb.net, the original C # project works just fine, I do not know what I'm missing!

Thanks, Scott

With the help of reflector, understand it.

The online converter took this code

  pen = new pen {brush = brushes.Gray, thickness = 2};  

and spit out

  pen = new pen ()  

leaving the facility

pen.brush = brushes.Gray pen.Thickness = 2

And some other conversions that I had to fix were similar.

The converter can be done: {{brush = brush. Gray, thickness = 2}

but to protect it:

  pen = new pen () because VS08 only supports that it just Left .. 

The problem is OK!


Comments