I’ve just published on
and the CodePlex a new release of the Expression gallery including these new features: Multi-Touch behaviors
Windows Phone 7.1 Beta 2 (refresh) “Mango”; added new property “
IgnoredTypes” for excluding particular control types from the manipulations (thanks to Richie for the suggestions, feedback and code samples); the “
Manipulation Processor” and “ Inertia Processor” are now exposed by the behavior in order to enable personalized manipulations and gestures; new properties:
CenterX, CenterY, Rotation, Scale permit to support custom gestures like “DoupleTap” zoom;
Silverlight 4 and Windows Phone 7.1 samples updated with a simple “ DoubleTap” zoom example using the new exposed properties.
The source code and samples are available for download
is a new Silverlight based web application for browsing the newly published Landsat imagery available in Landsat Touch for Silverlight ArcGIS on-line by Esri.
sample comes complete with source code and uses the available on Codeplex. Silverlight/WP7 Multitouch Behavior
the availability of has announced Babylon, a 3D engine written to demonstrate the power of Silverlight 5 Beta.
The source code is available for download
together with many other samples for Silverlight 3D in the here MSDN Code samples gallery.
Also check out these useful resources by Aaron Oneal:
A quick shoutout to point out that David Hill has just released
of the PRISM Template Pack now including both a new version and MEF Unity support.
Other useful resources about
In these days I’m receiving several questions in the
about Multi-Touch Behaviors forums enabling Multi-Touch manipulations in Windows Phone applications composed by more than one page.
Today I’ve modified the available sample inserting an additional page containing an image enabled for translation, rotation, zoom and inertia via the usual “
release it’s now possible to use the Behavior in different pages of the application, in this way enabling multi-touch in different elements of a Windows Phone 7 application. 0.6.1
As usually the sample code is available for download on
, check out the Visual Studio solution “ http://multitouch.codeplex.com SilverlightWP7MultiTouch.sln” which contains all necessary libraries.
A picture is worth a thousand words:
See you (on-line) on December 2, 2010! 🙂
I’ve received several requests about the modalities of enabling multi-touch on a UI element using the Behavior available on
. my CodePlex project
The traditional syntax using XAML is here:
<Image Source="Images/Desert.jpg" x:Name="image1">
What about if you want to achieve the same result using C#? Just obtain a collection of behaviors for your element and then add/remove the
MultiTouchBehavior using the following syntax:
private void btnAttach_Click(object sender, RoutedEventArgs e)
var behaviors =
var mtb = new MultiTouchBehavior
IsRotateEnabled = true,
IsScaleEnabled = true,
IsTranslateXEnabled = true,
IsInertiaEnabled = true,
AreFingersVisible = true,
MinimumScale = 20,
MaximumScale = 200
mtb.Move(new Point(200, 150), 45, 100);
private void btnDetach_Click(object sender, RoutedEventArgs e)
var behaviors =
if (behaviors.Count > 0)
As usually the source code is available for download on the
(check out the Multi-Touch CodePlex project SilverlightWP7MultiTouch Solution).
Oh, did I already say that it also works on Windows Phone 7? 😉
I was following
this thread on the Silverlight forums and was asked to update the Duplex sample to Silverlight 4.
h to download the code. ere
More information about Duplex Services are available here:
Check out this
by Patrick Smacchia about the new new article Contextual-Sensitive help feature in . NDepend v3.2.0
More details about
NDepend (which now supports Visual Studio full integration) are available here:
I’ve just finished some experiments using the
and the “ Windows Phone 7 emulator Microsoft Surface Manipulations and Inertia Sample for Microsoft Silverlight ” in order to enable Multi-Touch gestures using Behaviors: Blend
This new implementation, now available for download in the
, permits to enable Multi-Touch gestures (the usual translation, rotation, zoom and inertia) on separate User Controls available in the same container. Expression Gallery
In this way you can apply distinct Multi-Touch manipulations (inertia included) to single elements using a single code in xaml:
Alternatively you can use Blend inserting a reference to the project
MultiTouch.Behaviors.Silverlight.WP7 and then dragging the MultiTouchManipulationBehavior from the Assets section to the control to be touch-enabled:
This one has been an interesting exercise in porting code written for Silverlight to Windows Phone: I had only to create a Windows Phone 7 project and add to it the code already available for the Silverlight version and all worked well quite quickly.
At this time the behavior works only in the fixed
Portrait orientation of Windows Phone: if you change to Landscape the manipulation doesn’t work well. I’ll have to investigate further and currently I don’t have a physical device to test (I’d really love to have a device to try it :)).