1.跳转应用市场
MarketplaceDetailTask task = new MarketplaceDetailTask();
task.ContentType = MarketplaceContentType.Applications;
task.ContentIdentifier = uuid;//软件的唯一id
task.Show();
2.全景透视效果
http://msdn.microsoft.com/zh-cn/library/system.windows.media.planeprojection(v=vs.95).aspx
internal static void ElementShakeStart(UIElement sender)
{
//throw new NotImplementedException();
PlaneProjection m_AniPlaneProjection = new PlaneProjection();
m_AniPlaneProjection.LocalOffsetX = 3;
m_AniPlaneProjection.LocalOffsetY = 3;
sender.Projection = m_AniPlaneProjection;
}
internal static void ElementShakeEnd(UIElement sender)
{
//throw new NotImplementedException();
PlaneProjection m_AniPlaneProjection = new PlaneProjection();
m_AniPlaneProjection.LocalOffsetX = 0;
m_AniPlaneProjection.LocalOffsetY = 0;
sender.Projection = m_AniPlaneProjection;
}