Skip to content

A UWP Library that implement an easy way to use Mica material without WinUI.

License

Notifications You must be signed in to change notification settings

wherewhere/Mica-For-UWP

Repository files navigation

Mica For UWP LOGO

Mica For UWP

一个无需 WinUI 便可实现的 Mica 笔刷

LICENSE Issues Stargazers

Microsoft Store NuGet

目录

如何使用

和普通的笔刷一样

<ResourceDictionary
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:media="using:MicaForUWP.Media">
    <media:BackdropMicaBrush
        x:Key="ApplicationPageBackgroundThemeMicaElementBrush"
        BackgroundSource="Backdrop"
        FallbackColor="{ThemeResource SolidBackgroundFillColorBase}"
        TintColor="{ThemeResource SolidBackgroundFillColorBase}" />
    <media:BackdropMicaBrush
        x:Key="ApplicationPageBackgroundThemeMicaWindowBrush"
        BackgroundSource="HostBackdrop"
        FallbackColor="{ThemeResource SolidBackgroundFillColorBase}"
        TintColor="{ThemeResource SolidBackgroundFillColorBase}" />
    <media:BackdropMicaBrush
        x:Key="ApplicationPageBackgroundThemeMicaWallpaperBrush"
        BackgroundSource="WallpaperBackdrop"
        FallbackColor="{ThemeResource SolidBackgroundFillColorBase}"
        TintColor="{ThemeResource SolidBackgroundFillColorBase}" />
</ResourceDictionary>

使用到的模块

参与人员

Contributors

About

A UWP Library that implement an easy way to use Mica material without WinUI.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages