LibMaterial 1.2.0

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

// Install LibMaterial as a Cake Tool
#tool nuget:?package=LibMaterial&version=1.2.0                

LibMaterial

为 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-windows7.0 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-windows7.0

    • 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.

Version Downloads Last updated
1.2.8 337 3/4/2023
1.2.7 266 2/28/2023
1.2.6 264 2/25/2023
1.2.5 257 2/25/2023
1.2.0 261 2/25/2023

调整了项目的文件结构,移动示例到项目外,重命名了项目与核心文件。
具体如下:
LibApply (LiMica)
LibImport (LibDll)
LibRegistry (无改变)