Nuget Packages
Main Package
Contains all styles for the Fluent v2 theme and controls hosted in FluentAvalonia
Xaml Namespaces
You can, of course, use whatever xmlns definitions you want, but for any sample code these xml namespaces will be used for FluentAvalonia
- Styling:
xmlns:sty="using:FluentAvalonia.Styling"
- Controls:
xmlns:ui="using:FluentAvalonia.UI.Controls"
xmlns:uip="using:FluentAvalonia.UI.Controls.Primitives"
Styles
To attach the styles needed for FluentAvalonia, add the following to your App.axaml
file (don’t forget the xmlns definition):
<sty:FluentAvaloniaTheme />
You don’t need to include any other themes with FluentAvalonia (FluentTheme or SimpleTheme, for example). Doing so may result in visual artifacts and a degraded experience.