Get a Jump on Navigation in Windows Phone with the LongListSelector: Listing 4.

Applying the TiltEffect to the GroupView.

  GroupViewClosing="GroupViewClosing" ... 

private Type addedType;
private void GroupViewOpened(object sender, GroupViewOpenedEventArgs e)
  var control = e.ItemsControl.Parent as UIElement;
  var generator = e.ItemsControl.ItemContainerGenerator;
  foreach (var item in e.ItemsControl.Items)
    var container = generator.ContainerFromItem(item);
    if (addedType==null)
      addedType = container.GetType();
      TiltEffect.SetIsTiltEnabled(container, true);        


private void GroupViewClosing(object sender, GroupViewClosingEventArgs e)
  if (addedType != null)
    addedType = null;


About the Author

Nick Randolph runs Built to Roam, a consulting company that specializes in training, mentoring and assisting other companies build mobile applications. With a heritage in rich client applications for both the desktop and a variety of mobile platforms, Nick currently presents, writes and educates on the Windows Phone platform.

comments powered by Disqus


.NET Insight

Sign up for our newsletter.

Terms and Privacy Policy consent

I agree to this site's Privacy Policy.

Upcoming Events