Missing element in WPF Tutorial

G'day all.

I was working through the WPF Tutorial creating the Ink Pad project. The Tutorial asks for an InkCanvas control to be placed on the form but I can only see a Canvas control. I tried to use that but there is no Strokes method available.

I'm using the Beta 2 version. Is there something that I need to add to the project to get this to work or is it just an oversite?

Thanks,

Graham.

[465 byte] By [bushranger] at [2008-2-7]
# 1

Try adding it to your toolBox. Right-click toolBox then 'Choose Items... > WPF Components > InkCanvas > OK'

I think it was in the toolBox by default in Beta 1.

jrboddie at 2007-10-2 > top of Msdn Tech,Visual Studio Orcas,Visual C# Express Orcas...
# 2

jrboddie is right. It will be present for RTM but in the meantime you can add it via the method described above.
WestonHutchins-MSFT at 2007-10-2 > top of Msdn Tech,Visual Studio Orcas,Visual C# Express Orcas...

Visual Studio Orcas

Site Classified