Navbar xaml to subfolder
MODIFY
WalletWasabi.Fluent/Views/MainView.axaml
WalletWasabi.Fluent/Views/MainView.axaml
xmlns:vl="clr-namespace:WalletWasabi.Fluent"
xmlns:c="clr-namespace:WalletWasabi.Fluent.Controls"
xmlns:local="clr-namespace:WalletWasabi.Fluent.Views"
+ xmlns:navbar="clr-namespace:WalletWasabi.Fluent.Views.NavBar"
xmlns:rxui="clr-namespace:Avalonia.ReactiveUI;assembly=Avalonia.ReactiveUI"
xmlns:i="clr-namespace:Avalonia.Xaml.Interactivity;assembly=Avalonia.Xaml.Interactivity"
xmlns:behaviors="clr-namespace:WalletWasabi.Fluent.Behaviors;assembly=WalletWasabi.Fluent"
MaterialOpacity="0.55" />
</ExperimentalAcrylicBorder.Material>
</ExperimentalAcrylicBorder>
- <local:NavBar DataContext="{Binding NavBar}" />
+ <navbar:NavBar DataContext="{Binding NavBar}" />
</Panel>
</SplitView.Pane>
<Panel>

RENAME
WalletWasabi.Fluent/Views/NavBar.axaml
WalletWasabi.Fluent/Views/NavBar/NavBar.axaml
xmlns:h="clr-namespace:WalletWasabi.Fluent.Helpers"
xmlns:behaviors="clr-namespace:WalletWasabi.Fluent.Behaviors;assembly=WalletWasabi.Fluent"
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
- x:Class="WalletWasabi.Fluent.Views.NavBar" UseLayoutRounding="False">
+ x:Class="WalletWasabi.Fluent.Views.NavBar.NavBar" UseLayoutRounding="False">
<UserControl.Styles>
<Style Selector=":is(ListBox)">
<Setter Property="ItemTemplate">

RENAME
WalletWasabi.Fluent/Views/NavBar.axaml.cs
WalletWasabi.Fluent/Views/NavBar/NavBar.axaml.cs
using Avalonia.Controls;
using Avalonia.Markup.Xaml;
-namespace WalletWasabi.Fluent.Views
+namespace WalletWasabi.Fluent.Views.NavBar
{
public class NavBar : UserControl
{

Navbar xaml to subfolder