Example #1
0
        private async void Grid_PointerExited(object sender, PointerRoutedEventArgs e)
        {
            if (!isCompacted)
            {
                return;
            }
            await CompactionButton.Fade(0).StartAsync();

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