public async Task ConfigureHamburgerMenuBlur() { if (ApiInformationHelper.IsCreatorsUpdateOrLater) { BlurBorderHamburger.Background = XAMLHelper.GetResourceValue <CustomAcrylicBrush>("InAppAcrylicBrush"); } else { await BlurBorderHamburger.AttachCompositionBlurEffect(20, 100, true); } }
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); } }