Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
F

FluentWPF

> 设计协作
Open source

Fluent Design System for WPF.

1.5K stars0 likes2 views
WebsiteGitHub

About

Fluent Design System for WPF.


FluentWPF

Fluent Design System for WPF

Overview

  • Acrylic
    • AcrylicWindow
    • AcrylicBrush
  • Reveal
    • Reveal styles for controls(Button/TextBox/ListBox)
  • ParallaxView
  • AccentColors

Install

NuGet Package

Install-Package FluentWPF

https://nuget.org/packages/FluentWPF

Preparation

Add XAML namespace.

xml
xmlns:fw="clr-namespace:SourceChord.FluentWPF;assembly=FluentWPF"

Add ResourceDictionary to App.xaml.

xml
<Application.Resources>
    <ResourceDictionary>
        <ResourceDictionary.MergedDictionaries>
             
            <ResourceDictionary Source="pack://application:,,,/FluentWPF;component/Styles/Controls.xaml" />
        </ResourceDictionary.MergedDictionaries>
    </ResourceDictionary>
</Application.Resources>

Usage

Acrylic

AcrylicWindow

…

Code Behind Remove base class definition.

cs
public partial class MainWindow
{
    public MainWindow()
    {
        InitializeComponent();
    }
}
Properties
Property Name Type Description
TintColor Color Gets or sets the color tint for the semi-transparent acrylic material.
TintOpacity double Gets or sets the degree of opacity of the color tint.
NoiseOpacity double Gets or sets the degree of opacity of the noise layer.
FallbackColor Color Gets or sets the color when window is inactive.
AcrylicWindowStyle Normal
NoIcon
None
Gets or sets a value that indicates the style of the Acrylic Window.

The difference between kind of AcrylicWindowStyle is demonstrated as follows,

AcrylicWindowStyle="Normal" AcrylicWindowStyle="NoIcon" AcrylicWindowStyle="None"
Using as Attached Property

AcrylicWindow can also be used as an Attached Property.

…

Code Behind

cs
public partial class MainWindow : Window
{
    public MainWindow()
    {
        InitializeComponent();
    }
}

AcrylicBrush

…

Reveal

Reveal effect for controls.

To use the reveal effect, set fw:PointerTracker.Enabled="True" on a parent container.

…

Styles

Control Style Name
Button ButtonRevealStyle
Button ButtonAccentRevealStyle
Button ButtonRoundRevealStyle
Button ButtonRoundAccentRevealStyle
TextBox TextBoxRevealStyle
PasswordBox PasswordBoxRevealStyle
ListBox ListBoxRevealStyle
ComboBox ComboBoxRevealStyle

ParallaxView

xml
<Grid>
    <fw:ParallaxView VerticalShift="200" HorizontalShift="200"
                     Source="{Binding ElementName=list}">
        <Image Source="/FluentWPFSample;component/Assets/Images/1.jpg" Stretch="UniformToFill"/>
    </fw:ParallaxView>
    <ListBox x:Name="list" Background="#88EEEEEE" ScrollViewer.CanContentScroll="False"
             ItemsSource="{Binding Items}"/>
</Grid>

Properties

Property Name Type Description

AccentColors

…

Accent Color

Accent color depends on the accent color of the system.

Sample Color Brush
ImmersiveSystemAccentLight3 ImmersiveSystemAccentLight3Brush
ImmersiveSystemAccentLight2 ImmersiveSystemAccentLight2Brush
ImmersiveSystemAccentLight1 ImmersiveSystemAccentLight1Brush
ImmersiveSystemAccent ImmersiveSystemAccentBrush
ImmersiveSystemAccentDark1 ImmersiveSystemAccentDark1Brush
ImmersiveSystemAccentDark2 ImmersiveSystemAccentDark2Brush
ImmersiveSystemAccentDark3 ImmersiveSystemAccentDark3Brush

Usage:

xml
 <Border Background="{x:Static fw:AccentColors.ImmersiveSystemAccentBrush}"/>
 <Border Background="{Binding Path=(fw:AccentColors.ImmersiveSystemAccentBrush)}"/>

Base Color

Light Dark Color Brush
SystemBaseHighColor SystemBaseHighColorBrush
SystemBaseMediumHighColor SystemBaseMediumHighColorBrush
SystemBaseMediumColor SystemBaseMediumColorBrush
SystemBaseMediumLowColor SystemBaseMediumLowColorBrush
SystemBaseLowColor SystemBaseLowColorBrush

Usage:

xml
 <Border Background="{DynamicResource SystemBaseHighColorBrush}"/>

Alt Color

Light Dark Color Brush
SystemAltHighColor SystemAltHighColorBrush
SystemAltMediumHighColor SystemAltMediumHighColorBrush
SytemAltMediumColor SytemAltMediumColorBrush
SystemAltMediumLowColor SystemAltMediumLowColorBrush
SystemAltLowColor SystemAltLowColorBrush

Usage:

xml
 <TextBlock Foreground="{DynamicResource SystemAltHighColorBrush}"/>

Chrome Color

Light Dark Color Brush
SystemChromeHighColor SystemChromeHighColorBrush
SytemAltMediumColor SytemAltMediumColorBrush
SystemChromeMediumLowColor SystemChromeMediumLowColorBrush
SystemChromeLowColor SystemChromeLowColorBrush

Usage:

xml
 <Border Background="{DynamicResource SystemChromeMediumBrush}"/>

Opacity Color

Windows includes a set of colors that differ only by their opacities:

Base Color Opacity Color Brush
FF SystemChromeBlackHighColor SystemChromeBlackHighColorBrush
CC SystemChromeBlackMediumColor SystemChromeBlackMediumColor
66 SystemChromeBlackMediumLowColor SystemChromeBlackMediumLowColorBrush
33 SystemChromeBlackLowColor SystemChromeBlackLowColorBrush
33 SystemListMediumColor SystemListMediumColorBrush
19 SystemListLowColor SystemListLowColorBrush

Other Colors

Light Dark Color Brush
SystemChromeWhiteColor SystemChromeWhiteColorBrush
SystemChromeAltLowColor SystemChromeAltLowColorBrush
SystemChromeDisabledHighColor SystemChromeDisabledHighColorBrush
SystemChromeDisabledLowColor SystemChromeDisabledLowColorBrush

License

MIT License

Issues· 40 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

C#acrylicc-sharpfluent-designfluentdesign

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category设计协作
PricingOpen source

> Related tools

F
Figma
协作式界面设计工具
S
sketch-wakatime
Sketch plugin for automatic time tracking and metrics generated from your Sketch usage.
Q
QuickColor
Quickly apply fills from the global or document color palettes to selected elements - 🎨