private async void Grid_PointerExited(object sender, PointerRoutedEventArgs e) { if (!isCompacted) { return; } await CompactionButton.Fade(0).StartAsync(); CompactionButton.Visibility = Visibility.Collapsed; }
private async void Grid_PointerEntered(object sender, PointerRoutedEventArgs e) { if (!isCompacted) { return; } if (CheckCompaction()) { CompactionButton.Visibility = Visibility.Visible; await CompactionButton.Fade(1).StartAsync(); } }