Style Xaml-applications with CSS
- XamarinForms
NuGet: XamlCSS.XamarinForms - WPF
NuGet: XamlCSS.WPF - Universal Windows Platform
NuGet: XamlCSS.UWP
- CSS selectors
- Remove and reapply styles
- Detect new elements and apply matching styles
- Support Binding * (except vanilla UWP)
- Support StaticResource *
- Support DynamicResource * (except vanilla UWP)
- Set simple values like Foreground, FontSize, FontStyle,... by CSS
- Triggers
- Multiple StyleSheets
- Nested selectors (like Sass)
- Css-variables
- Import of other css-files
- Visual State Manager
For more information look at the provided test-apps in the solution to see how to initialize and use XamlCSS.
*) Braking change in binding syntax in 2.0.0: instead of {Binding value}
you now write #Binding value
or "{Binding value}"