I need to draw lines and dots (circles) in WFP. (VS 2010)
I tried using Ellipse control for dots, but I don't have the line ones.
I however added <Line
element directly in XAML and this worked...
but how I have the line control in the toolbox?
I need to draw lines and dots (circles) in WFP. (VS 2010)
I tried using Ellipse control for dots, but I don't have the line ones.
I however added <Line
element directly in XAML and this worked...
but how I have the line control in the toolbox?
Right click the toolbox, click Choose items (wow that dialog's slow...) look for Line and check it. That's it.
Lots of lesser-used WPF controls don't show up in the toolbox by default. You have to right-click, and select Choose Items, then find the controls you want to add