# FluentWPF **Repository Path**: dengbill/FluentWPF ## Basic Information - **Project Name**: FluentWPF - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-07-04 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README


FluentWPF

Fluent Design System for WPF

## Overview * Acrylic * AcrylicWindow * AcrylicBrush * Reveal * Reveal styles for controls(Button/TextBox/ListBox) * ParallaxView * AccentColors ![Reveal](./docs/Reveal/demo.gif) ## 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 ``` ## Usage ### Acrylic #### AcrylicWindow ![AcrylicWindow](./docs/Acrylic/AcrylicWindow.gif) ```xml ``` **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. ```xml ``` **Code Behind** ```cs public partial class MainWindow : Window { public MainWindow() { InitializeComponent(); } } ``` #### AcrylicBrush ![AcrylicBrush](./docs/Acrylic/AcrylicBrush.gif) ```xml