LibMica 1.0.0

Suggested Alternatives

LibMaterial

Additional Details

我对 LibMica 进行了重命名,因为 LibMica 不止可以应用 Mica,还可以应用 Acrylic,Mica Alt,Transparent。同时为了避免不必要的存储消耗,我将 Example 示例迁移到了外部,若要阅读 Example,请访问 https://github.com/Simple-2021/LibMaterial

There is a newer version of this package available.
See the version list below for details.
dotnet add package LibMica --version 1.0.0                
NuGet\Install-Package LibMica -Version 1.0.0                
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="LibMica" Version="1.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add LibMica --version 1.0.0                
#r "nuget: LibMica, 1.0.0"                
#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 LibMica as a Cake Addin
#addin nuget:?package=LibMica&version=1.0.0

// Install LibMica as a Cake Tool
#tool nuget:?package=LibMica&version=1.0.0                

LibMica

为 WinForm 应用 Mica

Plan ↻: Mica Effect

Plan ↻: System Theme

Plan X

image

image

image

image

image

image

Win32 API

DwmSetWindowAttribute

Nuget Package

无引用

参考代码

在 Win32 应用中支持云母材质

在 Win32 应用中支持深色和浅色主题,阅读更多

在 Win32 应用中支持透明客户端区域,阅读更多

实现代码

Example,Clone

参考资料

SEARCH.BING.COM

SEARCH.GOOGLE.COM

LEARN.MICROSOFT.COM

Product Compatible and additional computed target framework versions.
.NET net6.0-windows10.0.22000 is compatible.  net7.0-windows was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net6.0-windows10.0.22000

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Dark模式与 Label,CheckBox,RadioButton 控件不兼容,会导致字体模糊