sevenate / WpfCssStyle

Example of using WPF styles in a CSS-like way

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build status

WPF Styles in CSS way

Example of mixing WPF styles in a CSS-like format by using custom markup extension:

<Label Content="Some warning here" Style="{WPF:CssStyle Names='size16 bold red'}" />

Key code is in CssStyleExtension.cs

For more examples see App.xaml and MainWindow.xaml

Design mode support

Visual Studio 2017

Blend for Visual Studio S2017

About

Example of using WPF styles in a CSS-like way

License:MIT License


Languages

Language:C# 100.0%