About this Blog

fGroove is a audio loop player that allows multiple people to select audio loops that will play in time and at the correct tempo. Think of it as a multitouch version of a groove matrix. Note, I'm just learning to program the surface. While code examples here should work, they may not be the "correct" or "official" way of doing things

Friday, December 18, 2009

Solved: LibraryStack vs PreviewContactTapGesture

Possibly the easiest way to solve the problem of LibraryStack controls not responding to PreivewContactTapGestures is to embed them into a ScatterViewItem on the ScatterView

In the XAML






In the C# code create a new Libraryview:

LibraryStack lbs = new LibraryStack();
lbsItem.Content = lbs;
lbsItem.PreviewContactTapGesture += new ContactEventHandler(SurfaceWindow1_PreviewContactTapGesture);

Now the ScatterViewItem with a LibraryStack in it will react to the tapgesture.

No comments:

Post a Comment