posted on Friday, September 23, 2005 5:48 PM by Sean Gerety

Cool XAML node of the day

When I was at the PDC they had a great Hands on Lab for XAML, C# and Ink.  Adding ink ability to a WPF application is super easy.  You just add an InkCanvas element.  Here's the XAML to add ink to your WPF app.  Just cut and paste into XAMLPad.

<Grid>

<InkCanvas Name="inkCanvasArea" Background="LightBlue"/>

</Grid>

 

Strangely enough there's not a XAML example in the MSDN WinFX SDK.  But there is this nugget, a nice "Getting Started with Ink" article where you can find more interesting bits.

 

Enjoy.

Comments