private async void CloseReleaseTextPanel_Tapped(object sender, TappedRoutedEventArgs e) { await ReleaseBodyTextPanel.Animation() .Opacity(1, 0) .Scale(1, 1.1f, Easing.SineEaseInOut) .Duration(150) .StartAsync(); ReleaseBodyTextPanel.Visibility = Visibility.Collapsed; }
private async void ReleasesList_ItemClick(object sender, ItemClickEventArgs e) { ReleaseBodyText.Text = (e.ClickedItem as Release).Body; ReleaseBodyTextPanel.Visibility = Visibility.Visible; await ReleaseBodyTextPanel.Animation() .Opacity(0, 1) .Scale(1.1f, 1, Easing.SineEaseInOut) .Duration(150) .StartAsync(); }
private async void CloseReleaseTextPanel_Tapped(object sender, TappedRoutedEventArgs e) { await ReleaseBodyTextPanel.StartCompositionFadeScaleAnimationAsync(1, 0, 1, 1.1f, 150, null, 0, EasingFunctionNames.SineEaseInOut); ReleaseBodyTextPanel.Visibility = Visibility.Collapsed; }
private async void ReleasesList_ItemClick(object sender, ItemClickEventArgs e) { ReleaseBodyText.Text = (e.ClickedItem as Release).Body; ReleaseBodyTextPanel.Visibility = Visibility.Visible; await ReleaseBodyTextPanel.StartCompositionFadeScaleAnimationAsync(0, 1, 1.1f, 1, 150, null, 0, EasingFunctionNames.SineEaseInOut); }