├── logo.png ├── global.json ├── MicaDemo ├── Assets │ ├── StoreLogo.backup.png │ ├── LargeTile.scale-100.png │ ├── LargeTile.scale-125.png │ ├── LargeTile.scale-150.png │ ├── LargeTile.scale-200.png │ ├── LargeTile.scale-400.png │ ├── SmallTile.scale-100.png │ ├── SmallTile.scale-125.png │ ├── SmallTile.scale-150.png │ ├── SmallTile.scale-200.png │ ├── SmallTile.scale-400.png │ ├── StoreLogo.scale-100.png │ ├── StoreLogo.scale-125.png │ ├── StoreLogo.scale-150.png │ ├── StoreLogo.scale-200.png │ ├── StoreLogo.scale-400.png │ ├── SplashScreen.scale-100.png │ ├── SplashScreen.scale-125.png │ ├── SplashScreen.scale-150.png │ ├── SplashScreen.scale-200.png │ ├── SplashScreen.scale-400.png │ ├── Photos │ │ └── BigFourSummerHeat.jpg │ ├── Square150x150Logo.scale-100.png │ ├── Square150x150Logo.scale-125.png │ ├── Square150x150Logo.scale-150.png │ ├── Square150x150Logo.scale-200.png │ ├── Square150x150Logo.scale-400.png │ ├── Square44x44Logo.scale-100.png │ ├── Square44x44Logo.scale-125.png │ ├── Square44x44Logo.scale-150.png │ ├── Square44x44Logo.scale-200.png │ ├── Square44x44Logo.scale-400.png │ ├── Wide310x150Logo.scale-100.png │ ├── Wide310x150Logo.scale-125.png │ ├── Wide310x150Logo.scale-150.png │ ├── Wide310x150Logo.scale-200.png │ ├── Wide310x150Logo.scale-400.png │ ├── Square44x44Logo.targetsize-16.png │ ├── Square44x44Logo.targetsize-24.png │ ├── Square44x44Logo.targetsize-32.png │ ├── Square44x44Logo.targetsize-48.png │ ├── Square44x44Logo.targetsize-256.png │ ├── Square44x44Logo.altform-unplated_targetsize-16.png │ ├── Square44x44Logo.altform-unplated_targetsize-256.png │ ├── Square44x44Logo.altform-unplated_targetsize-32.png │ ├── Square44x44Logo.altform-unplated_targetsize-48.png │ ├── Square44x44Logo.targetsize-24_altform-unplated.png │ ├── Square44x44Logo.altform-lightunplated_targetsize-16.png │ ├── Square44x44Logo.altform-lightunplated_targetsize-24.png │ ├── Square44x44Logo.altform-lightunplated_targetsize-256.png │ ├── Square44x44Logo.altform-lightunplated_targetsize-32.png │ └── Square44x44Logo.altform-lightunplated_targetsize-48.png ├── Helpers │ ├── UIHelper.cs │ ├── Converters │ │ ├── BoolToVisibilityConverter.cs │ │ ├── ConverterTools.cs │ │ └── BoolToObjectConverter.cs │ ├── WindowHelper.cs │ ├── UIElementHelper.cs │ └── ThemeHelper.cs ├── Controls │ ├── ColorPickerEx.xaml │ ├── TitleBar.xaml │ ├── TitleBar.xaml.cs │ └── ColorPickerEx.xaml.cs ├── Properties │ ├── AssemblyInfo.cs │ └── Default.rd.xml ├── App.xaml ├── Package.appxmanifest ├── Pages │ ├── MainPage.xaml.cs │ ├── MainPage.xaml │ ├── BlurPage.xaml.cs │ ├── MicaPage.xaml.cs │ ├── BlurPage.xaml │ └── MicaPage.xaml ├── Themes │ └── Color.xaml ├── App.xaml.cs ├── Common │ ├── Enumerable.cs │ ├── WeakEvent.cs │ ├── ExceptionHandling.cs │ └── ThreadSwitcher.cs ├── ViewModels │ └── BrushViewModel.cs └── MicaDemo.csproj ├── Directory.Build.targets ├── MicaForUWP ├── MicaForUWP.targets ├── Properties │ └── MicaForUWP.rd.xml ├── Media │ └── BackgroundSource.cs ├── Helpers │ └── ApiInfoHelper.cs ├── MicaForUWP.nuspec └── MicaForUWP.csproj ├── .github ├── ISSUE_TEMPLATE │ ├── config.yml │ ├── feature_request.yaml │ └── bug_report.yaml ├── FUNDING.yml └── workflows │ └── build-and-package.yml ├── LICENSE ├── Directory.Build.props ├── README.md ├── MicaForUWP.sln └── .gitignore /logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wherewhere/Mica-For-UWP/HEAD/logo.png -------------------------------------------------------------------------------- /global.json: -------------------------------------------------------------------------------- 1 | { 2 | "msbuild-sdks": { 3 | "MSBuild.Sdk.Extras": "3.0.44" 4 | } 5 | } -------------------------------------------------------------------------------- /MicaDemo/Assets/StoreLogo.backup.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wherewhere/Mica-For-UWP/HEAD/MicaDemo/Assets/StoreLogo.backup.png -------------------------------------------------------------------------------- /MicaDemo/Assets/LargeTile.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wherewhere/Mica-For-UWP/HEAD/MicaDemo/Assets/LargeTile.scale-100.png -------------------------------------------------------------------------------- /MicaDemo/Assets/LargeTile.scale-125.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wherewhere/Mica-For-UWP/HEAD/MicaDemo/Assets/LargeTile.scale-125.png -------------------------------------------------------------------------------- /MicaDemo/Assets/LargeTile.scale-150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wherewhere/Mica-For-UWP/HEAD/MicaDemo/Assets/LargeTile.scale-150.png -------------------------------------------------------------------------------- /MicaDemo/Assets/LargeTile.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wherewhere/Mica-For-UWP/HEAD/MicaDemo/Assets/LargeTile.scale-200.png -------------------------------------------------------------------------------- /MicaDemo/Assets/LargeTile.scale-400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wherewhere/Mica-For-UWP/HEAD/MicaDemo/Assets/LargeTile.scale-400.png -------------------------------------------------------------------------------- /MicaDemo/Assets/SmallTile.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wherewhere/Mica-For-UWP/HEAD/MicaDemo/Assets/SmallTile.scale-100.png -------------------------------------------------------------------------------- /MicaDemo/Assets/SmallTile.scale-125.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wherewhere/Mica-For-UWP/HEAD/MicaDemo/Assets/SmallTile.scale-125.png -------------------------------------------------------------------------------- /MicaDemo/Assets/SmallTile.scale-150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wherewhere/Mica-For-UWP/HEAD/MicaDemo/Assets/SmallTile.scale-150.png -------------------------------------------------------------------------------- /MicaDemo/Assets/SmallTile.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wherewhere/Mica-For-UWP/HEAD/MicaDemo/Assets/SmallTile.scale-200.png -------------------------------------------------------------------------------- /MicaDemo/Assets/SmallTile.scale-400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wherewhere/Mica-For-UWP/HEAD/MicaDemo/Assets/SmallTile.scale-400.png -------------------------------------------------------------------------------- /MicaDemo/Assets/StoreLogo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wherewhere/Mica-For-UWP/HEAD/MicaDemo/Assets/StoreLogo.scale-100.png -------------------------------------------------------------------------------- /MicaDemo/Assets/StoreLogo.scale-125.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wherewhere/Mica-For-UWP/HEAD/MicaDemo/Assets/StoreLogo.scale-125.png -------------------------------------------------------------------------------- /MicaDemo/Assets/StoreLogo.scale-150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wherewhere/Mica-For-UWP/HEAD/MicaDemo/Assets/StoreLogo.scale-150.png -------------------------------------------------------------------------------- /MicaDemo/Assets/StoreLogo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wherewhere/Mica-For-UWP/HEAD/MicaDemo/Assets/StoreLogo.scale-200.png -------------------------------------------------------------------------------- /MicaDemo/Assets/StoreLogo.scale-400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wherewhere/Mica-For-UWP/HEAD/MicaDemo/Assets/StoreLogo.scale-400.png -------------------------------------------------------------------------------- /MicaDemo/Assets/SplashScreen.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wherewhere/Mica-For-UWP/HEAD/MicaDemo/Assets/SplashScreen.scale-100.png -------------------------------------------------------------------------------- /MicaDemo/Assets/SplashScreen.scale-125.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wherewhere/Mica-For-UWP/HEAD/MicaDemo/Assets/SplashScreen.scale-125.png -------------------------------------------------------------------------------- /MicaDemo/Assets/SplashScreen.scale-150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wherewhere/Mica-For-UWP/HEAD/MicaDemo/Assets/SplashScreen.scale-150.png -------------------------------------------------------------------------------- /MicaDemo/Assets/SplashScreen.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wherewhere/Mica-For-UWP/HEAD/MicaDemo/Assets/SplashScreen.scale-200.png -------------------------------------------------------------------------------- /MicaDemo/Assets/SplashScreen.scale-400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wherewhere/Mica-For-UWP/HEAD/MicaDemo/Assets/SplashScreen.scale-400.png -------------------------------------------------------------------------------- /MicaDemo/Assets/Photos/BigFourSummerHeat.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wherewhere/Mica-For-UWP/HEAD/MicaDemo/Assets/Photos/BigFourSummerHeat.jpg -------------------------------------------------------------------------------- /MicaDemo/Assets/Square150x150Logo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wherewhere/Mica-For-UWP/HEAD/MicaDemo/Assets/Square150x150Logo.scale-100.png -------------------------------------------------------------------------------- /MicaDemo/Assets/Square150x150Logo.scale-125.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wherewhere/Mica-For-UWP/HEAD/MicaDemo/Assets/Square150x150Logo.scale-125.png -------------------------------------------------------------------------------- /MicaDemo/Assets/Square150x150Logo.scale-150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wherewhere/Mica-For-UWP/HEAD/MicaDemo/Assets/Square150x150Logo.scale-150.png -------------------------------------------------------------------------------- /MicaDemo/Assets/Square150x150Logo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wherewhere/Mica-For-UWP/HEAD/MicaDemo/Assets/Square150x150Logo.scale-200.png -------------------------------------------------------------------------------- /MicaDemo/Assets/Square150x150Logo.scale-400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wherewhere/Mica-For-UWP/HEAD/MicaDemo/Assets/Square150x150Logo.scale-400.png -------------------------------------------------------------------------------- /MicaDemo/Assets/Square44x44Logo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wherewhere/Mica-For-UWP/HEAD/MicaDemo/Assets/Square44x44Logo.scale-100.png -------------------------------------------------------------------------------- /MicaDemo/Assets/Square44x44Logo.scale-125.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wherewhere/Mica-For-UWP/HEAD/MicaDemo/Assets/Square44x44Logo.scale-125.png -------------------------------------------------------------------------------- /MicaDemo/Assets/Square44x44Logo.scale-150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wherewhere/Mica-For-UWP/HEAD/MicaDemo/Assets/Square44x44Logo.scale-150.png -------------------------------------------------------------------------------- /MicaDemo/Assets/Square44x44Logo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wherewhere/Mica-For-UWP/HEAD/MicaDemo/Assets/Square44x44Logo.scale-200.png -------------------------------------------------------------------------------- /MicaDemo/Assets/Square44x44Logo.scale-400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wherewhere/Mica-For-UWP/HEAD/MicaDemo/Assets/Square44x44Logo.scale-400.png -------------------------------------------------------------------------------- /MicaDemo/Assets/Wide310x150Logo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wherewhere/Mica-For-UWP/HEAD/MicaDemo/Assets/Wide310x150Logo.scale-100.png -------------------------------------------------------------------------------- /MicaDemo/Assets/Wide310x150Logo.scale-125.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wherewhere/Mica-For-UWP/HEAD/MicaDemo/Assets/Wide310x150Logo.scale-125.png -------------------------------------------------------------------------------- /MicaDemo/Assets/Wide310x150Logo.scale-150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wherewhere/Mica-For-UWP/HEAD/MicaDemo/Assets/Wide310x150Logo.scale-150.png -------------------------------------------------------------------------------- /MicaDemo/Assets/Wide310x150Logo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wherewhere/Mica-For-UWP/HEAD/MicaDemo/Assets/Wide310x150Logo.scale-200.png -------------------------------------------------------------------------------- /MicaDemo/Assets/Wide310x150Logo.scale-400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wherewhere/Mica-For-UWP/HEAD/MicaDemo/Assets/Wide310x150Logo.scale-400.png -------------------------------------------------------------------------------- /MicaDemo/Assets/Square44x44Logo.targetsize-16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wherewhere/Mica-For-UWP/HEAD/MicaDemo/Assets/Square44x44Logo.targetsize-16.png -------------------------------------------------------------------------------- /MicaDemo/Assets/Square44x44Logo.targetsize-24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wherewhere/Mica-For-UWP/HEAD/MicaDemo/Assets/Square44x44Logo.targetsize-24.png -------------------------------------------------------------------------------- /MicaDemo/Assets/Square44x44Logo.targetsize-32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wherewhere/Mica-For-UWP/HEAD/MicaDemo/Assets/Square44x44Logo.targetsize-32.png -------------------------------------------------------------------------------- /MicaDemo/Assets/Square44x44Logo.targetsize-48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wherewhere/Mica-For-UWP/HEAD/MicaDemo/Assets/Square44x44Logo.targetsize-48.png -------------------------------------------------------------------------------- /MicaDemo/Assets/Square44x44Logo.targetsize-256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wherewhere/Mica-For-UWP/HEAD/MicaDemo/Assets/Square44x44Logo.targetsize-256.png -------------------------------------------------------------------------------- /MicaDemo/Assets/Square44x44Logo.altform-unplated_targetsize-16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wherewhere/Mica-For-UWP/HEAD/MicaDemo/Assets/Square44x44Logo.altform-unplated_targetsize-16.png -------------------------------------------------------------------------------- /MicaDemo/Assets/Square44x44Logo.altform-unplated_targetsize-256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wherewhere/Mica-For-UWP/HEAD/MicaDemo/Assets/Square44x44Logo.altform-unplated_targetsize-256.png -------------------------------------------------------------------------------- /MicaDemo/Assets/Square44x44Logo.altform-unplated_targetsize-32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wherewhere/Mica-For-UWP/HEAD/MicaDemo/Assets/Square44x44Logo.altform-unplated_targetsize-32.png -------------------------------------------------------------------------------- /MicaDemo/Assets/Square44x44Logo.altform-unplated_targetsize-48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wherewhere/Mica-For-UWP/HEAD/MicaDemo/Assets/Square44x44Logo.altform-unplated_targetsize-48.png -------------------------------------------------------------------------------- /MicaDemo/Assets/Square44x44Logo.targetsize-24_altform-unplated.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wherewhere/Mica-For-UWP/HEAD/MicaDemo/Assets/Square44x44Logo.targetsize-24_altform-unplated.png -------------------------------------------------------------------------------- /MicaDemo/Assets/Square44x44Logo.altform-lightunplated_targetsize-16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wherewhere/Mica-For-UWP/HEAD/MicaDemo/Assets/Square44x44Logo.altform-lightunplated_targetsize-16.png -------------------------------------------------------------------------------- /MicaDemo/Assets/Square44x44Logo.altform-lightunplated_targetsize-24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wherewhere/Mica-For-UWP/HEAD/MicaDemo/Assets/Square44x44Logo.altform-lightunplated_targetsize-24.png -------------------------------------------------------------------------------- /MicaDemo/Assets/Square44x44Logo.altform-lightunplated_targetsize-256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wherewhere/Mica-For-UWP/HEAD/MicaDemo/Assets/Square44x44Logo.altform-lightunplated_targetsize-256.png -------------------------------------------------------------------------------- /MicaDemo/Assets/Square44x44Logo.altform-lightunplated_targetsize-32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wherewhere/Mica-For-UWP/HEAD/MicaDemo/Assets/Square44x44Logo.altform-lightunplated_targetsize-32.png -------------------------------------------------------------------------------- /MicaDemo/Assets/Square44x44Logo.altform-lightunplated_targetsize-48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wherewhere/Mica-For-UWP/HEAD/MicaDemo/Assets/Square44x44Logo.altform-lightunplated_targetsize-48.png -------------------------------------------------------------------------------- /Directory.Build.targets: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | runtime; build; native; contentfiles; analyzers; buildtransitive 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /MicaForUWP/MicaForUWP.targets: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | $(MSBuildThisFileDirectory)..\..\lib\native\MicaForUWP.winmd 6 | true 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- 1 | blank_issues_enabled: true 2 | contact_links: 3 | - name: Question 4 | url: https://github.com/wherewhere/Mica-For-UWP/discussions/new?category=q-a 5 | about: Ask a question 6 | - name: Discussion 7 | url: https://github.com/wherewhere/Mica-For-UWP/discussions/new?category=general 8 | about: Start a discussion 9 | -------------------------------------------------------------------------------- /MicaDemo/Helpers/UIHelper.cs: -------------------------------------------------------------------------------- 1 | using Windows.UI.Xaml; 2 | 3 | namespace MicaDemo.Helpers 4 | { 5 | internal static class UIHelper 6 | { 7 | public static double TitleBarHeight { get; } = ThemeHelper.IsStatusBarSupported ? 4 : 32; 8 | public static Thickness ScrollViewerMargin => new Thickness(0, TitleBarHeight, 0, TitleBarHeight); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /MicaDemo/Controls/ColorPickerEx.xaml: -------------------------------------------------------------------------------- 1 | 11 | -------------------------------------------------------------------------------- /MicaForUWP/Properties/MicaForUWP.rd.xml: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /MicaForUWP/Media/BackgroundSource.cs: -------------------------------------------------------------------------------- 1 | namespace MicaForUWP.Media 2 | { 3 | /// 4 | /// Defines values that specify whether the brush samples from the app content or from the content behind the app window. 5 | /// 6 | public enum BackgroundSource 7 | { 8 | /// 9 | /// The brush samples from the content behind the app window. 10 | /// 11 | HostBackdrop = 0, 12 | 13 | /// 14 | /// The brush samples from the app content. 15 | /// 16 | Backdrop = 1, 17 | 18 | /// 19 | /// The brush samples from the wallpaper behind the app window. 20 | /// 21 | WallpaperBackdrop = 2 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] 4 | patreon: wherewhere 5 | open_collective: # Replace with a single Open Collective username 6 | ko_fi: # Replace with a single Ko-fi username 7 | tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel 8 | community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry 9 | liberapay: # Replace with a single Liberapay username 10 | issuehunt: # Replace with a single IssueHunt username 11 | otechie: # Replace with a single Otechie username 12 | lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry 13 | custom: ['afdian.com/@wherewhere'] 14 | -------------------------------------------------------------------------------- /MicaDemo/Helpers/Converters/BoolToVisibilityConverter.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using Windows.UI.Xaml; 6 | 7 | namespace MicaDemo.Helpers.Converters 8 | { 9 | /// 10 | /// This class converts a boolean value into a Visibility enumeration. 11 | /// 12 | public class BoolToVisibilityConverter : BoolToObjectConverter 13 | { 14 | /// 15 | /// Initializes a new instance of the class. 16 | /// 17 | public BoolToVisibilityConverter() 18 | { 19 | TrueValue = Visibility.Visible; 20 | FalseValue = Visibility.Collapsed; 21 | } 22 | } 23 | } -------------------------------------------------------------------------------- /MicaDemo/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.InteropServices; 3 | 4 | // 有关程序集的一般信息由以下 5 | // 控制。更改这些特性值可修改 6 | // 与程序集关联的信息。 7 | [assembly: AssemblyTitle("MicaDemo")] 8 | [assembly: AssemblyDescription("A demo for Mica for UWP which is a lib to use Mica in UWP without WinUI.")] 9 | [assembly: AssemblyConfiguration("")] 10 | [assembly: AssemblyCompany("")] 11 | [assembly: AssemblyProduct("MicaDemo")] 12 | [assembly: AssemblyCopyright("Copyright © 2017 - 2025 wherewhere. All Rights Reserved.")] 13 | [assembly: AssemblyTrademark("")] 14 | [assembly: AssemblyCulture("")] 15 | 16 | // 程序集的版本信息由下列四个值组成: 17 | // 18 | // 主版本 19 | // 次版本 20 | // 生成号 21 | // 修订号 22 | // 23 | //可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值 24 | //通过使用 "*",如下所示: 25 | // [assembly: AssemblyVersion("1.0.*")] 26 | [assembly: AssemblyVersion("0.0.4.0")] 27 | [assembly: AssemblyFileVersion("0.0.4.0")] 28 | [assembly: ComVisible(false)] -------------------------------------------------------------------------------- /MicaDemo/Properties/Default.rd.xml: -------------------------------------------------------------------------------- 1 | 17 | 18 | 19 | 20 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2021 wherewhere 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /Directory.Build.props: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | false 5 | Full 6 | en-US 7 | $(DefineConstants);WINDOWS_UWP;WINRT 8 | $(MSBuildExtensionsPath)\Microsoft\WindowsXaml\v$(VisualStudioVersion)\Microsoft.Windows.UI.Xaml.CSharp.targets 9 | native 10 | UAP,Version=v10.0 11 | winmdobj 12 | uap10.0 13 | .NETCore 14 | v5.0 15 | UAP 16 | 10.0.10240.0 17 | 10.0.22621.0 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.yaml: -------------------------------------------------------------------------------- 1 | name: Feature request 2 | description: Suggest an idea for this project 3 | title: "Feature title" 4 | labels: [enhancement] 5 | body: 6 | - type: textarea 7 | validations: 8 | required: true 9 | attributes: 10 | label: Describe your feature request 11 | description: A clear and concise description of what the problem is. 12 | placeholder: I'm always frustrated when [...] 13 | - type: dropdown 14 | validations: 15 | required: true 16 | attributes: 17 | label: How important is this to you? 18 | options: 19 | - "Nice-to-have" 20 | - "Important" 21 | - "Critical" 22 | - type: textarea 23 | attributes: 24 | label: Describe the solution you'd like 25 | description: A clear and concise description of what you want to happen. 26 | - type: textarea 27 | attributes: 28 | label: Describe alternatives you've considered 29 | description: A clear and concise description of any alternative solutions or features you've considered. 30 | - type: textarea 31 | attributes: 32 | label: Additional context 33 | description: Add any other context or screenshots about the feature request here. 34 | -------------------------------------------------------------------------------- /MicaDemo/Helpers/Converters/ConverterTools.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Reflection; 3 | using Windows.UI.Xaml.Markup; 4 | 5 | namespace MicaDemo.Helpers.Converters 6 | { 7 | /// 8 | /// Static class used to provide internal tools 9 | /// 10 | internal static class ConverterTools 11 | { 12 | /// 13 | /// Helper method to safely cast an object to a boolean 14 | /// 15 | /// Parameter to cast to a boolean 16 | /// Bool value or false if cast failed 17 | internal static bool TryParseBool(object parameter) 18 | { 19 | bool parsed = false; 20 | if (parameter != null) 21 | { 22 | bool.TryParse(parameter.ToString(), out parsed); 23 | } 24 | 25 | return parsed; 26 | } 27 | 28 | /// 29 | /// Helper method to convert a value from a source type to a target type. 30 | /// 31 | /// The value to convert 32 | /// The target type 33 | /// The converted value 34 | internal static object Convert(object value, Type targetType) 35 | { 36 | return targetType.IsInstanceOfType(value) ? value : XamlBindingHelper.ConvertValue(targetType, value); 37 | } 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /MicaDemo/App.xaml: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | Segoe Fluent Icons,Segoe MDL2 Assets,Segoe UI Symbol 13 | 21 | 29 | 38 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /MicaForUWP/Helpers/ApiInfoHelper.cs: -------------------------------------------------------------------------------- 1 | using System.Runtime.Versioning; 2 | using Windows.Foundation.Metadata; 3 | 4 | namespace MicaForUWP.Helpers 5 | { 6 | /// 7 | /// Gets information about the availability of Windows Runtime APIs. 8 | /// 9 | #if NET 10 | #pragma warning disable CA1416 11 | [SupportedOSPlatform("Windows10.0.10240.0")] 12 | #endif 13 | public static class ApiInfoHelper 14 | { 15 | #region Properties 16 | 17 | /// 18 | /// Gets is supported. 19 | /// 20 | #if NET 21 | [SupportedOSPlatformGuard("Windows10.0.16299.0")] 22 | #endif 23 | public static bool IsActivationModeSupported { get; } = ApiInformation.IsPropertyPresent("Windows.UI.Core.CoreWindow", "ActivationMode"); 24 | 25 | #endregion 26 | 27 | #region Methods 28 | 29 | /// 30 | /// Gets is supported. 31 | /// 32 | #if NET 33 | [SupportedOSPlatformGuard("Windows10.0.14393.0")] 34 | #endif 35 | public static bool IsCreateBackdropBrushSupported { get; } = ApiInformation.IsMethodPresent("Windows.UI.Composition.Compositor", "CreateBackdropBrush"); 36 | 37 | /// 38 | /// Gets is supported. 39 | /// 40 | #if NET 41 | [SupportedOSPlatformGuard("Windows10.0.15063.0")] 42 | #endif 43 | public static bool IsCreateHostBackdropBrushSupported { get; } = ApiInformation.IsMethodPresent("Windows.UI.Composition.Compositor", "CreateHostBackdropBrush"); 44 | 45 | /// 46 | /// Gets is supported. 47 | /// 48 | #if NET 49 | [SupportedOSPlatformGuard("Windows10.0.22000.0")] 50 | #endif 51 | public static bool IsTryCreateBlurredWallpaperBackdropBrushSupported { get; } = ApiInformation.IsMethodPresent("Windows.UI.Composition.Compositor", "TryCreateBlurredWallpaperBackdropBrush"); 52 | 53 | #endregion 54 | } 55 | } 56 | -------------------------------------------------------------------------------- /MicaForUWP/MicaForUWP.nuspec: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | $id$ 5 | $version$ 6 | $title$ 7 | $authors$ 8 | $requireLicenseAcceptance$ 9 | $license$ 10 | $icon$ 11 | $readme$ 12 | $projectUrl$ 13 | $iconUrl$ 14 | $description$ 15 | $releaseNotes$ 16 | $copyright$ 17 | UWP;Mica;WinUI 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /MicaDemo/Package.appxmanifest: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | 10 | 14 | 15 | 16 | 17 | 18 | Mica Demo 19 | wherewhere 20 | Assets\StoreLogo.png 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 35 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | -------------------------------------------------------------------------------- /MicaDemo/Pages/MainPage.xaml.cs: -------------------------------------------------------------------------------- 1 | using MicaDemo.Pages; 2 | using Windows.Foundation.Metadata; 3 | using Windows.Phone.UI.Input; 4 | using Windows.UI.Core; 5 | using Windows.UI.Xaml; 6 | using Windows.UI.Xaml.Controls; 7 | 8 | // https://go.microsoft.com/fwlink/?LinkId=402352&clcid=0x804 上介绍了“空白页”项模板 9 | 10 | namespace MicaDemo 11 | { 12 | /// 13 | /// 可用于自身或导航至 Frame 内部的空白页。 14 | /// 15 | public sealed partial class MainPage : Page 16 | { 17 | public MainPage() 18 | { 19 | InitializeComponent(); 20 | SystemNavigationManager.GetForCurrentView().BackRequested += System_BackRequested; 21 | if (ApiInformation.IsTypePresent("Windows.Phone.UI.Input.HardwareButtons")) 22 | { HardwareButtons.BackPressed += System_BackPressed; } 23 | if (!ApiInformation.IsMethodPresent("Windows.UI.Composition.Compositor", "TryCreateBlurredWallpaperBackdropBrush")) 24 | { 25 | MicaSymbol.Symbol = Symbol.Cancel; 26 | ToolTipService.SetToolTip(Mica, "Not Support Wallpaper Backdrop"); 27 | } 28 | if (!ApiInformation.IsTypePresent("Windows.UI.Xaml.Media.XamlCompositionBrushBase")) 29 | { 30 | BlurSymbol.Symbol = Symbol.Cancel; 31 | Mica.IsEnabled = Blur.IsEnabled = false; 32 | ToolTipService.SetToolTip(Blur, "Not Support Composition Brush"); 33 | } 34 | } 35 | 36 | private void System_BackRequested(object sender, BackRequestedEventArgs e) 37 | { 38 | if (!e.Handled) 39 | { 40 | e.Handled = TryGoBack(); 41 | } 42 | } 43 | 44 | private void System_BackPressed(object sender, BackPressedEventArgs e) 45 | { 46 | if (!e.Handled) 47 | { 48 | e.Handled = TryGoBack(); 49 | } 50 | } 51 | 52 | private bool TryGoBack(bool goBack = true) 53 | { 54 | if (!Dispatcher.HasThreadAccess || !Frame.CanGoBack) 55 | { return false; } 56 | 57 | if (goBack) { Frame.GoBack(); } 58 | return true; 59 | } 60 | 61 | private void Mica_Click(object sender, RoutedEventArgs e) 62 | { 63 | Frame.Navigate(typeof(MicaPage)); 64 | } 65 | 66 | private void Blur_Click(object sender, RoutedEventArgs e) 67 | { 68 | Frame.Navigate(typeof(BlurPage)); 69 | } 70 | } 71 | } 72 | -------------------------------------------------------------------------------- /MicaDemo/Pages/MainPage.xaml: -------------------------------------------------------------------------------- 1 | 10 | 19 | 34 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | -------------------------------------------------------------------------------- /.github/workflows/build-and-package.yml: -------------------------------------------------------------------------------- 1 | name: build and package 2 | 3 | on: 4 | push: 5 | pull_request: 6 | branches: [main] 7 | paths: 8 | - 'MicaDemo/**' 9 | - 'MicaForUWP/**' 10 | 11 | jobs: 12 | build-and-package: 13 | 14 | name: build-and-package 15 | runs-on: windows-latest 16 | 17 | env: 18 | Solution_Name: MicaForUWP.sln 19 | Project_Directory: MicaDemo 20 | Signing_Certificate: MicaDemo_TemporaryKey.pfx 21 | 22 | steps: 23 | - name: Checkout 24 | uses: actions/checkout@v4 25 | with: 26 | fetch-depth: 0 27 | 28 | # Decode the base 64 encoded pfx and save the Signing_Certificate 29 | - name: Decode the pfx 30 | run: | 31 | $pfx_cert_byte = [System.Convert]::FromBase64String("$env:Certificate") 32 | $certificatePath = Join-Path -Path $env:Project_Directory -ChildPath $env:Signing_Certificate 33 | [IO.File]::WriteAllBytes("$certificatePath", $pfx_cert_byte) 34 | env: 35 | Certificate: ${{ secrets.Base64_Encoded_Pfx }} 36 | 37 | # Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild 38 | - name: Setup MSBuild.exe 39 | uses: microsoft/setup-msbuild@v2 40 | with: 41 | msbuild-architecture: x64 42 | 43 | # Restore the application to populate the obj folder with RuntimeIdentifiers 44 | - name: Restore the application 45 | run: msbuild $env:Solution_Name /t:Restore /p:Configuration=$env:Configuration 46 | env: 47 | Configuration: Release 48 | 49 | # Create the app package by building and packaging the Windows Application Packaging project 50 | - name: Create the app package 51 | run: msbuild $env:Solution_Name ` 52 | /p:LangVersion=latest ` 53 | /p:AppxBundlePlatforms="$env:Appx_Bundle_Platforms" ` 54 | /p:Configuration=$env:Configuration ` 55 | /p:UapAppxPackageBuildMode=$env:Appx_Package_Build_Mode ` 56 | /p:AppxBundle=$env:Appx_Bundle ` 57 | /p:AppxPackageDir="$env:Appx_Package_Dir" ` 58 | /p:AppxPackageSigningEnabled=true ` 59 | /p:PackageCertificateThumbprint="$env:Thumbprint" ` 60 | /p:PackageCertificateKeyFile=$env:Signing_Certificate ` 61 | /p:PackageCertificatePassword="$env:Password" 62 | env: 63 | Appx_Bundle: Always 64 | Appx_Bundle_Platforms: x86|x64|ARM 65 | Appx_Package_Build_Mode: SideloadOnly 66 | Appx_Package_Dir: AppxPackages\ 67 | Configuration: Release 68 | Thumbprint: 0CDF4A03E9BE9DD789894BB3C7AD3DEDECD9AB25 69 | Password: ${{ secrets.Password }} 70 | 71 | # Upload the MSIX package: https://github.com/marketplace/actions/upload-a-build-artifact 72 | - name: Upload build artifacts 73 | uses: actions/upload-artifact@v4 74 | with: 75 | name: MSIX Package 76 | path: MicaDemo/AppxPackages/** 77 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.yaml: -------------------------------------------------------------------------------- 1 | name: Bug report 2 | description: Create a report to help us improve 3 | title: "Bug title" 4 | labels: [bug] 5 | body: 6 | - type: textarea 7 | validations: 8 | required: true 9 | attributes: 10 | label: Describe the bug 11 | description: Please enter a short, clear description of the bug. 12 | - type: textarea 13 | validations: 14 | required: true 15 | attributes: 16 | label: Steps to reproduce the bug 17 | description: Please provide any required setup and steps to reproduce the behavior. 18 | placeholder: | 19 | 1. Go to '...' 20 | 2. Click on '....' 21 | - type: textarea 22 | attributes: 23 | label: Expected behavior 24 | description: Please provide a description of what you expected to happen 25 | - type: textarea 26 | attributes: 27 | label: Screenshots 28 | description: If applicable, add screenshots here to help explain your problem 29 | - type: dropdown 30 | attributes: 31 | label: NuGet package version 32 | description: Specify the version of Mica For UWP you're using. 33 | options: 34 | - "Latest Source" 35 | - "0.2.13" 36 | - "0.2.12" 37 | - "0.1.11" 38 | - "0.1.10" 39 | - "0.1.9" 40 | - "0.1.8" 41 | - "0.0.7" 42 | - "0.0.6" 43 | - "0.0.5" 44 | - "0.0.4" 45 | - "0.0.3" 46 | - "0.0.2" 47 | - "0.0.1" 48 | - type: dropdown 49 | attributes: 50 | label: Windows version 51 | description: Which Windows versions did you see the issue on? 52 | options: 53 | - "Insider Build (xxxxx)" 54 | - "Windows 11 version 22H2 (22621, 2022 Update)" 55 | - "Windows 11 version 21H2 (22000)" 56 | - "Windows 10 version 22H2 (19045, 2022 Update)" 57 | - "Windows 10 version 21H2 (19044, November 2021 Update)" 58 | - "Windows 10 version 21H1 (19043, May 2021 Update)" 59 | - "Windows 10 version 20H2 (19042, October 2020 Update)" 60 | - "Windows 10 version 2004 (19041, May 2020 Update)" 61 | - "Windows 10 version 1909 (18363, November 2019 Update)" 62 | - "Windows 10 version 1903 (18362, May 2019 Update)" 63 | - "Windows 10 version 1809 (17763, October 2018 Update)" 64 | - "Windows 10 version 1803 (17134, April 2018 Update)" 65 | - "Windows 10 version 1709 (16299, Fall Creators Update)" 66 | - "Windows 10 version 1703 (15063, Creators Update)" 67 | - "Windows 10 version 1609 (14393, Anniversary Update)" 68 | - "Windows 10 version 1511 (10586, November Update)" 69 | - "Windows 10 version 1507 (10240)" 70 | - type: dropdown 71 | attributes: 72 | label: IDE 73 | description: Which IDE are you using? 74 | multiple: true 75 | options: 76 | - "Visual Studio 2022-preview" 77 | - "Visual Studio 2022" 78 | - "Visual Studio 2019" 79 | - "Visual Studio 2017" 80 | - "Visual Studio 2015" 81 | - "Other" 82 | - type: textarea 83 | attributes: 84 | label: Additional context 85 | description: Enter any other applicable info here 86 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | Mica For UWP LOGO 2 | 3 | # Mica For UWP 4 | 一个无需 WinUI 便可实现的 Mica 笔刷 5 | 6 | [![LICENSE](https://img.shields.io/github/license/wherewhere/Mica-For-UWP.svg?label=License&style=flat-square)](https://github.com/wherewhere/Mica-For-UWP/blob/master/LICENSE "LICENSE") 7 | [![Issues](https://img.shields.io/github/issues/wherewhere/Mica-For-UWP.svg?label=Issues&style=flat-square)](https://github.com/wherewhere/Mica-For-UWP/issues "Issues") 8 | [![Stargazers](https://img.shields.io/github/stars/wherewhere/Mica-For-UWP.svg?label=Stars&style=flat-square)](https://github.com/wherewhere/Mica-For-UWP/stargazers "Stargazers") 9 | 10 | [![Microsoft Store](https://img.shields.io/badge/download-Demo-magenta.svg?label=Microsoft%20Store&logo=data:image/svg+xml;base64,PHN2ZyByb2xlPSJpbWciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0iI2ZmZiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48dGl0bGU+TWljcm9zb2Z0IFN0b3JlPC90aXRsZT48cGF0aCBkPSJNMTEuNCA5LjZ2NC4ySDcuMlY5LjZoNC4yem0wIDkuNlYxNUg3LjJ2NC4yaDQuMnptNS40LTkuNnY0LjJoLTQuMlY5LjZoNC4yem0wIDkuNlYxNWgtNC4ydjQuMmg0LjJ6TTcuMiA1LjRWMi43YzAtMS4xNi45NC0yLjEgMi4xLTIuMWg1LjRjMS4xNiAwIDIuMS45NCAyLjEgMi4xdjIuN2g2LjNhLjkuOSAwIDAgMSAuOS45djEzLjhhMy4zIDMuMyAwIDAgMS0zLjMgMy4zSDMuM0EzLjMgMy4zIDAgMCAxIDAgMjAuMVY2LjNhLjkuOSAwIDAgMSAuOS0uOWg2LjN6TTkgMi43djIuN2g2VjIuN2EuMy4zIDAgMCAwLS4zLS4zSDkuM2EuMy4zIDAgMCAwLS4zLjN6TTEuOCAyMC4xYTEuNSAxLjUgMCAwIDAgMS41IDEuNWgxNy40YTEuNSAxLjUgMCAwIDAgMS41LTEuNVY3LjJIMS44djEyLjl6Ii8+PC9zdmc+&style=for-the-badge&color=11a2f8)](https://www.microsoft.com/store/apps/9NK6JSM7MDNX "Demo") 11 | [![NuGet](https://img.shields.io/nuget/dt/MicaForUWP.svg?logo=NuGet&style=for-the-badge)](https://www.nuget.org/packages/MicaForUWP "NuGet") 12 | 13 | ## 目录 14 | - [Mica For UWP](#mica-for-uwp) 15 | - [目录](#目录) 16 | - [如何使用](#如何使用) 17 | - [使用到的模块](#使用到的模块) 18 | - [参与人员](#参与人员) 19 | 20 | ## 如何使用 21 | 和普通的笔刷一样 22 | ```xml 23 | 27 | 32 | 37 | 42 | 43 | ``` 44 | 45 | ## 使用到的模块 46 | - [Win2D](https://github.com/Microsoft/Win2D "Win2D") 47 | 48 | ## 参与人员 49 | [![Contributors](https://contrib.rocks/image?repo=wherewhere/Mica-For-UWP)](https://github.com/wherewhere/Mica-For-UWP/graphs/contributors "Contributors") 50 | -------------------------------------------------------------------------------- /MicaDemo/Themes/Color.xaml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 1 5 | #4C3A3A3A 6 | #19000000 7 | #FF323232 8 | #FF202020 9 | #0DFFFFFF 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 1 18 | #80FFFFFF 19 | #0F000000 20 | #FFE6E6E6 21 | #FFF3F3F3 22 | #B3FFFFFF 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 2 31 | #FF323232 32 | #FF000000 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /MicaDemo/Controls/TitleBar.xaml: -------------------------------------------------------------------------------- 1 | 12 | 16 | 17 | 18 | 19 | 20 | 21 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 174 | 181 | 203 | 204 | 205 | 206 | 207 | 208 | 213 | 220 | 225 | HostBackdrop 226 | Backdrop 227 | WallpaperBackdrop 228 | 229 | 235 | 236 | 237 | 238 | 239 | 240 | 241 | 242 | 243 | 244 | 245 | 246 | 247 | 248 | 249 | 250 | 251 | 252 | 253 | 254 | 255 | 256 | 257 | 258 | 259 | 260 | 261 | 262 | 263 | 264 | 265 | 266 | 267 | 268 | 269 | 270 | 271 | 272 | 273 | -------------------------------------------------------------------------------- /MicaDemo/Pages/MicaPage.xaml: -------------------------------------------------------------------------------- 1 | 14 | 15 | 16 | 17 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 37 | 38 | 39 | 40 | 44 | 45 | 46 | 47 | 48 | 53 | 54 | 55 | 56 | 57 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 74 | 75 | 76 | 77 | 78 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 95 | 96 | 97 | 98 | 99 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 121 | 122 | 123 | 124 | 125 | 126 | 135 | 140 | 141 | 175 | 182 | 204 | 205 | 206 | 207 | 208 | 209 | 216 | 223 | 228 | 233 | HostBackdrop 234 | Backdrop 235 | WallpaperBackdrop 236 | 237 | 243 | 244 | 245 | 246 | 247 | 248 | 249 | 250 | 251 | 252 | 253 | 254 | 255 | 256 | 257 | 258 | 259 | 260 | 261 | 262 | 263 | 264 | 265 | 266 | 267 | 268 | 269 | 270 | 271 | 272 | 273 | 274 | 275 | 276 | 277 | 278 | 279 | 280 | 281 | --------------------------------------------------------------------------------