[Fluent] Enable compiled bindings
MODIFY
WalletWasabi.Fluent/Views/AddWallet/ConfirmRecoveryWordsView.axaml
WalletWasabi.Fluent/Views/AddWallet/ConfirmRecoveryWordsView.axaml
xmlns:behaviors="clr-namespace:WalletWasabi.Fluent.Behaviors;assembly=WalletWasabi.Fluent"
xmlns:conv="clr-namespace:WalletWasabi.Fluent.Converters"
xmlns:c="clr-namespace:WalletWasabi.Fluent.Controls"
+ xmlns:addWallet="clr-namespace:WalletWasabi.Fluent.ViewModels.AddWallet"
mc:Ignorable="d"
d:DesignWidth="600" d:DesignHeight="500"
+ x:DataType="addWallet:ConfirmRecoveryWordsViewModel"
+ x:CompileBindings="True"
x:Class="WalletWasabi.Fluent.Views.AddWallet.ConfirmRecoveryWordsView">
<UserControl.KeyBindings>
<KeyBinding Gesture="Enter" Command="{Binding NextCommand}" />

MODIFY
WalletWasabi.Fluent/Views/AddWallet/RecoveryWordsView.axaml
WalletWasabi.Fluent/Views/AddWallet/RecoveryWordsView.axaml
mc:Ignorable="d"
xmlns:behaviors="clr-namespace:WalletWasabi.Fluent.Behaviors;assembly=WalletWasabi.Fluent"
xmlns:i="clr-namespace:Avalonia.Xaml.Interactivity;assembly=Avalonia.Xaml.Interactivity"
+ xmlns:addWallet="clr-namespace:WalletWasabi.Fluent.ViewModels.AddWallet"
d:DesignWidth="600" d:DesignHeight="500"
+ x:CompileBindings="True"
+ x:DataType="addWallet:RecoveryWordsViewModel"
x:Class="WalletWasabi.Fluent.Views.AddWallet.RecoveryWordsView">
<c:ContentArea Title="Recovery words"
Caption="Write down the following numbered recovery words in order. These can be used to recover your wallet in the future. It is very important you keep them in a safe place."

MODIFY
WalletWasabi.Fluent/Views/AddWalletPageView.axaml
WalletWasabi.Fluent/Views/AddWalletPageView.axaml
xmlns:i="clr-namespace:Avalonia.Xaml.Interactivity;assembly=Avalonia.Xaml.Interactivity"
xmlns:behaviors="clr-namespace:WalletWasabi.Fluent.Behaviors"
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
- x:DataType="vm:HomePageViewModel"
+ x:DataType="vm:AddWalletPageViewModel"
+ x:CompileBindings="True"
x:Class="WalletWasabi.Fluent.Views.AddWalletPageView">
<c:ContentArea Title="Add Wallet" Caption="Type in your wallet's name and select an option:"
<Setter Property="Padding" Value="0" />
<Setter Property="IsEnabled" Value="{Binding OptionsEnabled}" />
<Setter Property="Opacity" Value="{Binding OptionsEnabled, Converter={x:Static conv:BoolOpacityConverters.BoolToOpacity}}" />
- <Setter Property="IsVisible" Value="{Binding $self.Opacity, Converter={x:Static conv:BoolOpacityConverters.OpacityToBool}}" />
+ <Setter Property="IsVisible" x:CompileBindings="False" Value="{Binding $self.Opacity, Converter={x:Static conv:BoolOpacityConverters.OpacityToBool}}" />
</Style>
<Style Selector="Button.option:disabled /template/ ContentPresenter#PART_ContentPresenter">
<Setter Property="Background" Value="{DynamicResource OptionButtonBackground}" />

MODIFY
WalletWasabi.Fluent/Views/Dialogs/EnterPasswordView.axaml
WalletWasabi.Fluent/Views/Dialogs/EnterPasswordView.axaml
xmlns:c="clr-namespace:WalletWasabi.Fluent.Controls"
mc:Ignorable="d" d:DesignWidth="600" d:DesignHeight="500"
x:Class="WalletWasabi.Fluent.Views.Dialogs.EnterPasswordView"
+ x:DataType="dialogs:EnterPasswordViewModel"
+ x:CompileBindings="True"
xmlns:behaviors="clr-namespace:WalletWasabi.Fluent.Behaviors;assembly=WalletWasabi.Fluent"
- xmlns:i="clr-namespace:Avalonia.Xaml.Interactivity;assembly=Avalonia.Xaml.Interactivity">
+ xmlns:i="clr-namespace:Avalonia.Xaml.Interactivity;assembly=Avalonia.Xaml.Interactivity"
+ xmlns:dialogs="clr-namespace:WalletWasabi.Fluent.ViewModels.Dialogs">
<UserControl.KeyBindings>
<KeyBinding Gesture="Enter" Command="{Binding NextCommand}" />
</UserControl.KeyBindings>

MODIFY
WalletWasabi.Fluent/Views/Dialogs/TestDialogView.axaml
WalletWasabi.Fluent/Views/Dialogs/TestDialogView.axaml
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:c="clr-namespace:WalletWasabi.Fluent.Controls"
+ xmlns:dialogs="clr-namespace:WalletWasabi.Fluent.ViewModels.Dialogs"
mc:Ignorable="d" Width="450" Height="200"
+ x:DataType="dialogs:TestDialogViewModel"
+ x:CompileBindings="True"
x:Class="WalletWasabi.Fluent.Views.Dialogs.TestDialogView">
<c:ContentArea Title="Test Dialog" Caption="A quick example of a dialog:" EnableCancel="False" EnableNext="True" NextContent="Confirm">
<StackPanel HorizontalAlignment="Center"

MODIFY
WalletWasabi.Fluent/Views/HomePageView.axaml
WalletWasabi.Fluent/Views/HomePageView.axaml
xmlns:conv="clr-namespace:WalletWasabi.Fluent.Converters"
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
x:DataType="vm:HomePageViewModel"
+ x:CompileBindings="True"
x:Class="WalletWasabi.Fluent.Views.HomePageView">
<c:ContentArea Title="Home">
<c:ContentArea.Caption>

MODIFY
WalletWasabi.Fluent/Views/MainView.axaml
WalletWasabi.Fluent/Views/MainView.axaml
xmlns:i="clr-namespace:Avalonia.Xaml.Interactivity;assembly=Avalonia.Xaml.Interactivity"
xmlns:ia="clr-namespace:Avalonia.Xaml.Interactions.Core;assembly=Avalonia.Xaml.Interactions"
xmlns:behaviors="clr-namespace:WalletWasabi.Fluent.Behaviors;assembly=WalletWasabi.Fluent"
+ xmlns:viewModels="clr-namespace:WalletWasabi.Fluent.ViewModels"
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
+ x:DataType="viewModels:MainViewModel"
+ x:CompileBindings="True"
x:Class="WalletWasabi.Fluent.Views.MainView">
<Panel>
<SplitView IsEnabled="{Binding IsMainContentEnabled}" IsPaneOpen="{Binding NavBar.IsOpen, Mode=TwoWay}">
</DockPanel>
</Panel>
</SplitView>
- <c:Dialog IsEnabled="{Binding $parent.DataContext.IsDialogEnabled}" MaxContentWidth="800" MaxContentHeight="700" DataContext="{Binding DialogScreen}" IsDialogOpen="{Binding IsDialogVisible, Mode=TwoWay}" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
+ <c:Dialog x:CompileBindings="False" IsEnabled="{Binding $parent.DataContext.IsDialogEnabled}" MaxContentWidth="800" MaxContentHeight="700" DataContext="{Binding DialogScreen}" IsDialogOpen="{Binding IsDialogVisible, Mode=TwoWay}" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
<rxui:RoutedViewHost Router="{Binding Router}">
<rxui:RoutedViewHost.ViewLocator>
<vl:ScreenViewLocator />

MODIFY
WalletWasabi.Fluent/Views/SettingsPageView.axaml
WalletWasabi.Fluent/Views/SettingsPageView.axaml
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:c="clr-namespace:WalletWasabi.Fluent.Controls"
+ xmlns:viewModels="clr-namespace:WalletWasabi.Fluent.ViewModels"
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
+ x:DataType="viewModels:SettingsPageViewModel"
+ x:CompileBindings="True"
x:Class="WalletWasabi.Fluent.Views.SettingsPageView">
<c:ContentArea Title="Settings" Caption="Some development settings:">
<StackPanel Spacing="10">

MODIFY
WalletWasabi.Fluent/Views/StatusBar.axaml
WalletWasabi.Fluent/Views/StatusBar.axaml
xmlns:behaviors="clr-namespace:WalletWasabi.Gui.Behaviors;assembly=WalletWasabi.Gui"
xmlns:i="clr-namespace:Avalonia.Xaml.Interactivity;assembly=Avalonia.Xaml.Interactivity"
xmlns:converters="clr-namespace:WalletWasabi.Gui.Converters;assembly=WalletWasabi.Gui"
+ xmlns:viewModels="clr-namespace:WalletWasabi.Gui.ViewModels;assembly=WalletWasabi.Gui"
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
+ x:DataType="viewModels:StatusBarViewModel"
+ x:CompileBindings="True"
x:Class="WalletWasabi.Fluent.Views.StatusBar">
<UserControl.Resources>
<converters:FilterLeftStatusConverter x:Key="FilterLeftStatusConverter" />
<DockPanel LastChildFill="True" Margin="20 0" VerticalAlignment="Center">
<StackPanel Orientation="Horizontal" Spacing="20" DockPanel.Dock="Right" IsVisible="{Binding !CriticalUpdateAvailable}">
- <StackPanel Orientation="Horizontal" Spacing="4">
- <TextBlock Text="{Binding ShowNetwork}" />
- </StackPanel>
+ <!-- <StackPanel Orientation="Horizontal" Spacing="4"> -->
+ <!-- <TextBlock Text="{Binding ShowNetwork}" /> -->
+ <!-- </StackPanel> -->
<Panel IsVisible="{Binding DownloadingBlock}">
<StackPanel Orientation="Horizontal" Spacing="4">
<Panel Height="10" Width="10">

[Fluent] Enable compiled bindings