TabletPC Development Gotchas Part 6: InkCanvas Element Selection/Move/Resize

WPF’s InkCanvas element provides a lot of built-in functionality for several common, ink-related tasks like stylus gesture recognition, point and stroke erase, as well as the selection, resizing and moving of ink strokes. The key to those features is the ‘EditingMode’ property – which is nicely demonstrated in the InkCanvas EditingModes SDK sample (btw, it also demonstrates an implementation of an Undo/Redo…

4

Ink Reflections - in Silverlight

I have received several question from folks about my earlier post on Ink Reflections in WPF. People were curious how to accomplish the same or a similar effect in Silverlight, in the absence of the VisualBrush object. Clearly, WPF’s VisualBrush is the main object that enables scenarios like this and it definitely makes their implementation straightforward. However, in…

0

Fun with Ink & Xaml - Part2: Zoom and Scroll

Here is some more fun with ink and Xaml: Scrolling and zooming ink content – in WPF it is as easy as 1,2,3: 1) place an InkCanvas inside a ScrollViewer 2) assign a ScaleTransform to InkCanvas’ LayoutTransform 3) data-bind to ScaleX/ScaleY properties in order to zoom in and out All of this can be done in…

4

Fun with Ink & Xaml - Part1: Ink Reflections

With the InkCanvas element in WPF you can create stunning inking experiences for TabletPC users (mouse users can play along, too!). Several very cool scenarios can be enabled just by writing markup – without any additional code behind. Here is a first example: an ink input field (takes input from either stylus or mouse) that…

8