serhio
serhio

Reputation: 28586

Adding line WPF control on 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?

Upvotes: 0

Views: 1788

Answers (2)

user1228
user1228

Reputation:

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 toolbox items chooser

Upvotes: 1

Alex Paven
Alex Paven

Reputation: 5549

Right click the toolbox, click Choose items (wow that dialog's slow...) look for Line and check it. That's it.

Upvotes: 3

Related Questions