public void GigglePlaylist() { DispatchManager.RunOnDispatcher(() => { PlaylistTransform.ScaleX = 1.5; PlaylistTransform.ScaleY = 1.5; AnimationTools.AnimateDouble(PlaylistTransform, "ScaleX", 1.0, 1250, null, false, true); AnimationTools.AnimateDouble(PlaylistTransform, "ScaleY", 1.0, 1250, null, false, true); }); }
async Task StartDissolvingAsync() { try { await rtb.RenderAsync(SplitContent); DissolveImage.Source = rtb; DissolveImage.Visibility = Visibility.Visible; DissolveImage.Opacity = 1.0; AnimationTools.AnimateDouble(DissolveImage, "Opacity", 0.0, 300, () => { DissolveImage.Visibility = Visibility.Collapsed; }); SplitContentTransform.Y = 25; AnimationTools.AnimateDouble(SplitContentTransform, "Y", 0, 150); } catch { // Ignore error DissolveImage.Visibility = Visibility.Collapsed; } }