예제 #1
0
 public async Task ConfigureHamburgerMenuBlur()
 {
     if (ApiInformationHelper.IsCreatorsUpdateOrLater)
     {
         BlurBorderHamburger.Background = XAMLHelper.GetResourceValue <CustomAcrylicBrush>("InAppAcrylicBrush");
     }
     else
     {
         await BlurBorderHamburger.AttachCompositionBlurEffect(20, 100, true);
     }
 }
예제 #2
0
 public async Task ConfigureHamburgerMenuBlur()
 {
     if (ApiInformationHelper.IsCreatorsUpdateOrLater)
     {
         if (!ApiInformationHelper.IsMobileDevice && HamSplitView.DisplayMode == SplitViewDisplayMode.Inline)
         {
             BlurBorderHamburger.Background = XAMLHelper.GetResourceValue <CustomAcrylicBrush>("HamburgerBackdropAcrylicBrush");
         }
         else
         {
             BlurBorderHamburger.Background = XAMLHelper.GetResourceValue <CustomAcrylicBrush>("InAppAcrylicBrush");
         }
     }
     else
     {
         await BlurBorderHamburger.AttachCompositionBlurEffect(20, 100, true);
     }
 }