Demos from my MIX 2011 session – Part 1: Navigation Tips

I have attached the first of the demos from my MIX 2011 session. Note that I have attached two versions: the ‘before’ version to illustrate the problems, and the ‘after’ version to show the fixes. This post will walk you through each of the tips and describes the code changes being made: Tip 1: Circular…


MIX 2011: My Windows Phone 7 Session

I just got back from Las Vegas where I had the opportunity to attend and speak at the MIX 2011 conference. A recording of my session can be viewed here on Channel9: Expert Lessons: Top Tips for Building a Successful Windows Phone Application  I had a great time at MIX and I am very excited about…


Silverlight 3: Perspective 3D

Silverlight 3 Beta has been released today. This release includes a number of exciting new features that I want to illustrate with a series of quick samples on my blog. (more info on Silverlight 3 Beta and how to get the bits and tools). The first new feature I want to show is Perspective 3D transformation….

2

Custom Ink Rendering in Silverlight 2

Drawing ink with the built-in stroke objects works great for handwriting and annotations. In some scenarios, however, you may want something more fancy that takes advantage of Silverlight’s rich graphics capabilities. Creating ink strokes with a customized appearance is fairly straight forward with Silverlight 2. You basically collect StylusPoints in mouse events as usual, but…

3

Back-of-pen Erasing in Silverlight

As addendum to my previous post Erasing Ink in Silverlight 2 I want to show how to enable back-of-pen erasing for users with a compatible stylus device (e.g. on a Tablet PC or with an external Graphics Tablet). The key that enables this scenario is the StylusDevice.Inverted property. It reports during mouse events whether the front-of-pen (stylus) or back-of-pen (eraser)…

0

Erasing Ink in Silverlight 2

Another frequently asked question around inking in Silverlight is about erasing Ink strokes after they have been collected or loaded. Unlike WPF or the Tablet SDK for COM & Winforms, Silverlight does not come with controls that have built-in eraser modes in the box. However, with a little bit of code-behind you can implement those…

3

Saving Ink to IsolatedStorage with Silverlight 2

One of the questions I have seen quite a few times in the Silverlight.net forums is how to persists (and de-persists) ink in Silverlight 2. Unlike WPF, Silverlight does not support a binary persistence format (ISF), but you can write some code to save and load ink to and from XAML. To demonstrate how to do…

1

TabletPC Development Gotchas Part 7: Detecting the input device in Silverlight 2

When writing an application that supports multiple input devices (mouse, stylus, touch) it is often neccessary to detect which type of device is sending the input events.Silverlight 1.0 offered a DeviceType property on the StylusInfo object that gets reported in every mouse event. In the Silverlight 2 managed API, you will not find an equivelnt object that…

0

Silverlight 2 Released – Write On!

Now that Silverlight 2 is released, I finally got around to updating my blog after a long time of silence. For those of you interested in handwriting and Tablet related technologies, I want to start out with a canonical example of a Silverlight 2 Inking application. There have been a couple of OM changes since…

5

Snipping Pictures with Silverlight

One of my favorite tools on the Tablet PC is the ‘Snipping Tool’. I have been using it frequently since the early XP days (back then we shipped it seperately as a Power Toy). Now in Vista, it’s part of the main OS and I find myself using it quite often event on my desktop PC….

4