MicaWPF 1.0.2

Additional Details

Unusable in that state.

There is a newer version of this package available.
See the version list below for details.
dotnet add package MicaWPF --version 1.0.2                
NuGet\Install-Package MicaWPF -Version 1.0.2                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="MicaWPF" Version="1.0.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MicaWPF --version 1.0.2                
#r "nuget: MicaWPF, 1.0.2"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install MicaWPF as a Cake Addin
#addin nuget:?package=MicaWPF&version=1.0.2

// Install MicaWPF as a Cake Tool
#tool nuget:?package=MicaWPF&version=1.0.2                

Overview

<div align="center"> <h4>This is a library to make Mica available in WPF because we can't wait for WinUI 3.0 to support it in unpackaged apps.</h4>

NuGet NuGet(preview) NuGet(download) License

</div>

Installation

Download via the Nuget package manager.

Install-Package MicaWPF

Preview

image<br/><br/> Also snap grid works with this method:<br/> image

Usage

First in the code behind your window add those lines:

    public partial class MainWindow : Window
    {
        public MainWindow()
        {
            InitializeComponent();
            Loaded += MainWindow_Loaded; //<-- Add this line
        }

        private void MainWindow_Loaded(object sender, RoutedEventArgs e) //< --Add this entire method or add to your loaded method.
        {
            this.UpdateStyleAttributes(); 
        }
    }

In the window xaml add this:

<Window x:Class="WpfDemo.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:WpfDemo"
        mc:Ignorable="d"
        Title="MainWindow" 
        Height="450" 
        Width="800"        
        Background="Transparent"> 
    <WindowChrome.WindowChrome> 
        <WindowChrome 
            CaptionHeight="20"
            ResizeBorderThickness="8"
            CornerRadius="0"
            GlassFrameThickness="-1"
            UseAeroCaptionButtons="True" />
    </WindowChrome.WindowChrome>
    <Grid>

    </Grid>
</Window>

More Info

There is a demo app you can download in the demo folder if you need a template or to see it in action.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
.NET Core netcoreapp3.1 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETCoreApp 3.1

    • No dependencies.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on MicaWPF:

Package Downloads
Nickvision.WPF

A framework for creating Nickvision applications with WPF.

MicaWPF.DependencyInjection

An extension of MicaWPF that adds dependency injection support.

MicaWPF.Extension

An extension of MicaWPF that adds controls and helpers.

GitHub repositories (5)

Showing the top 5 popular GitHub repositories that depend on MicaWPF:

Repository Stars
unchihugo/FluentFlyout
A simple and modern audio flyout for Windows 11, built with Fluent 2 Design principles.
GenshinMatrix/genshin-woodmen
尘歌壶终结者(原神自动伐木姬 | Genshin Auto Wood Obtain | 原神自動伐採君)
Simnico99/MicaWPF
This is a library to make Mica available in WPF.
Lixkote/Startify
Custom start menu for Windows 11 with some extras
hupo376787/WeiboAlbumDownloader
微博相册下载工具C#版,批量采集指定微博账号下的所有图片/视频/LivePhoto。
Version Downloads Last updated
6.2.10 661 10/6/2024
6.2.8 970 5/9/2024
6.2.7 950 2/12/2024
6.2.6 280 1/31/2024
6.2.5 428 1/9/2024
6.2.4 371 1/8/2024
6.2.3 359 1/8/2024
6.2.2 328 1/8/2024
6.2.1 1,098 11/14/2023
6.2.0 388 11/14/2023
6.1.3 1,234 7/21/2023
6.1.2 715 7/21/2023
6.1.1 768 7/19/2023
6.1.0 792 7/14/2023
6.0.0 739 7/13/2023
5.3.2 794 7/13/2023
5.3.1 973 6/2/2023
5.3.0 1,240 3/22/2023
5.2.9 934 3/22/2023
5.2.8 875 3/22/2023
5.2.7 926 3/22/2023
5.2.6 932 3/20/2023
5.2.5 938 3/18/2023
5.2.4 955 3/17/2023
5.2.3 967 3/17/2023
5.2.2 920 3/17/2023
5.2.1 933 3/10/2023
5.2.0 931 3/4/2023
5.1.1 918 3/3/2023 5.1.1 is deprecated because it has critical bugs.
5.1.0 898 3/3/2023 5.1.0 is deprecated because it has critical bugs.
5.0.0 931 3/3/2023 5.0.0 is deprecated because it has critical bugs.
4.8.19 1,044 2/10/2023
4.8.18 1,045 1/20/2023
4.8.17 1,021 1/19/2023
4.8.16 1,028 1/16/2023
4.8.15 1,004 1/16/2023
4.8.13 996 1/16/2023
4.8.12 1,079 1/10/2023
4.8.10 1,086 12/7/2022
4.8.9 1,003 12/7/2022
4.8.8 1,089 12/2/2022
4.8.7 986 11/30/2022
4.8.6 1,108 11/17/2022
4.8.5 1,034 11/17/2022
4.8.4 1,104 11/17/2022 4.8.4 is deprecated because it has critical bugs.
4.8.3 1,972 11/10/2022
4.8.2 1,137 11/9/2022
4.8.1 1,120 11/8/2022
4.8.0 1,135 10/30/2022
4.7.1 1,235 10/20/2022
4.7.0 1,210 10/19/2022
4.6.2 1,309 9/16/2022
4.6.1 1,245 9/14/2022
4.6.0 1,177 9/14/2022
4.5.2 1,138 9/14/2022
4.5.1 1,113 9/13/2022
4.5.0 1,151 9/13/2022
4.4.1 1,139 9/7/2022
4.4.0 1,167 8/26/2022
4.3.3 1,150 8/26/2022
4.3.2 1,143 8/26/2022
4.3.1 1,148 8/25/2022
4.3.0 1,147 8/24/2022
4.2.15 1,087 8/23/2022
4.2.13 1,142 8/23/2022
4.2.12 1,114 8/19/2022
4.2.11 1,144 8/19/2022
4.2.10 1,203 8/19/2022
4.2.9 1,117 8/18/2022
4.2.8 1,134 8/18/2022
4.2.7 1,123 8/18/2022
4.2.6 1,135 8/18/2022
4.2.5 1,158 8/18/2022
4.2.4 1,109 8/18/2022
4.2.3 1,091 8/18/2022
4.2.2 1,095 8/18/2022
4.2.1 1,168 8/11/2022
4.2.0 1,100 8/11/2022
4.1.18 1,021 1/20/2023
4.1.14 1,039 1/16/2023
4.1.7 1,151 8/11/2022
4.1.6 1,156 8/10/2022
4.1.5 1,094 8/10/2022
4.1.4 1,087 8/10/2022
4.1.3 1,078 8/10/2022
4.1.2 1,102 8/9/2022
4.1.1 1,141 8/9/2022
4.1.0 1,151 8/9/2022
4.0.12 1,180 8/3/2022
4.0.11 1,104 7/29/2022
4.0.10 1,069 7/29/2022
4.0.9 1,125 7/29/2022
4.0.8 1,107 7/29/2022
4.0.7 1,158 7/28/2022
4.0.6 1,091 7/28/2022
4.0.5 1,122 7/28/2022
4.0.4 1,113 7/28/2022
4.0.3 1,141 7/28/2022
4.0.2 1,090 7/27/2022
4.0.1 1,157 7/27/2022
4.0.0 1,139 7/27/2022
3.1.48 1,310 7/27/2022
3.1.47 1,341 7/27/2022
3.1.46 1,335 7/27/2022
3.1.45 1,357 7/27/2022
3.1.44 1,345 7/27/2022
3.1.43 1,390 7/27/2022
3.1.42 1,319 7/27/2022
3.1.41 1,332 7/27/2022
3.1.40 1,311 7/26/2022
3.1.39 1,341 7/26/2022
3.1.38 1,349 7/21/2022
3.1.37 1,287 7/21/2022
3.1.36 1,343 7/18/2022
3.1.35 1,415 7/5/2022
3.1.34 1,370 7/5/2022
3.1.33 1,341 7/5/2022
3.1.32 1,336 7/5/2022
3.1.31 1,355 7/4/2022
3.1.30 1,378 7/4/2022
3.1.29 1,375 6/30/2022
3.1.28 1,321 6/28/2022
3.1.27 1,480 5/19/2022
3.1.26 1,449 5/16/2022
3.1.25 1,315 5/16/2022
3.1.24 1,385 5/16/2022
3.1.23 1,310 5/16/2022
3.1.22 1,399 5/15/2022
3.1.21 1,382 5/15/2022
3.1.20 1,325 5/15/2022
3.1.19 1,360 5/15/2022
3.1.16 1,408 5/13/2022
3.1.15 1,465 5/13/2022
3.1.14 1,118 5/13/2022
3.1.4 1,107 5/12/2022
3.1.3 1,091 5/12/2022
3.1.1 1,211 5/4/2022
3.1.0 1,101 5/4/2022
3.0.11 1,136 5/3/2022
3.0.10 1,138 5/3/2022
3.0.8 1,093 5/3/2022
3.0.7 1,128 5/3/2022
3.0.6 1,109 5/3/2022
3.0.1 1,394 5/3/2022
2.0.1 1,312 5/2/2022
2.0.0 850 4/9/2022
1.3.11 760 4/6/2022
1.3.8 764 4/6/2022
1.3.7 753 4/6/2022
1.3.5 737 4/6/2022
1.3.4 1,369 1/31/2022
1.3.3 764 1/31/2022
1.3.2 675 12/17/2021
1.3.1 607 12/17/2021
1.3.0 620 12/17/2021
1.2.1 701 11/2/2021
1.1.15 637 11/1/2021
1.1.14 633 11/1/2021
1.1.13 639 11/1/2021
1.1.12 652 11/1/2021
1.1.11 670 11/1/2021 1.1.11 is deprecated because it has critical bugs.
1.1.9 659 10/31/2021
1.1.8 698 10/31/2021
1.1.7 687 10/31/2021
1.1.6 822 10/31/2021 1.1.6 is deprecated because it has critical bugs.
1.1.5 787 10/31/2021 1.1.5 is deprecated because it has critical bugs.
1.1.3 668 10/31/2021
1.1.2 625 10/29/2021
1.1.1 801 10/29/2021 1.1.1 is deprecated because it has critical bugs.
1.1.0 825 10/29/2021 1.1.0 is deprecated because it has critical bugs.
1.0.2 788 10/29/2021 1.0.2 is deprecated because it has critical bugs.
1.0.1 795 10/29/2021 1.0.1 is deprecated because it has critical bugs.
1.0.0 764 10/29/2021 1.0.0 is deprecated because it has critical bugs.