Added SearchPageView
ADD
WalletWasabi.Fluent/Views/SearchPageView.axaml
+<UserControl xmlns="https://github.com/avaloniaui"
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+ xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
+ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
+ xmlns:vm="clr-namespace:WalletWasabi.Fluent.ViewModels"
+ xmlns:c="clr-namespace:WalletWasabi.Fluent.Controls"
+ xmlns:conv="clr-namespace:WalletWasabi.Fluent.Converters"
+ 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:Class="WalletWasabi.Fluent.Views.SearchPageView">
+
+ <c:ContentArea Title="Search" Caption="">
+ <DockPanel>
+ <StackPanel DockPanel.Dock="Top" Margin="0 0 0 20">
+ <TextBox Text="{Binding SearchQuery}" MaxWidth="400" Watermark="type to search">
+ <i:Interaction.Behaviors>
+ <behaviors:FocusOnAttachedBehavior />
+ </i:Interaction.Behaviors>
+ </TextBox>
+ </StackPanel>
+ <ScrollViewer HorizontalScrollBarVisibility="Disabled">
+ <ItemsControl HorizontalAlignment="Center" Items="{Binding SearchItems}">
+ <ItemsControl.ItemsPanel>
+ <ItemsPanelTemplate>
+ <WrapPanel Orientation="Horizontal" />
+ </ItemsPanelTemplate>
+ </ItemsControl.ItemsPanel>
+ <ItemsControl.ItemTemplate>
+ <DataTemplate>
+ <Button Classes="option" Command="{Binding OpenCommand}" Height="150" Width="150" Margin="8">
+ <Panel>
+ <TextBlock Text="{Binding Title}" VerticalAlignment="Bottom" HorizontalAlignment="Center" Margin="0 0 0 15" />
+ <PathIcon Width="28" Height="28" Opacity="0.8">
+ <PathIcon.Data>
+ <Binding Converter="{x:Static conv:NavBarIconConverter.Instance}" />
+ </PathIcon.Data>
+ </PathIcon>
+ </Panel>
+ </Button>
+ </DataTemplate>
+ </ItemsControl.ItemTemplate>
+ </ItemsControl>
+ </ScrollViewer>
+ </DockPanel>
+ </c:ContentArea>
+</UserControl>
\ No newline at end of file

ADD
WalletWasabi.Fluent/Views/SearchPageView.axaml.cs
+using Avalonia.Markup.Xaml;
+using Avalonia.ReactiveUI;
+using WalletWasabi.Fluent.ViewModels;
+
+namespace WalletWasabi.Fluent.Views
+{
+ public class SearchPageView : ReactiveUserControl<SearchPageViewModel>
+ {
+ public SearchPageView()
+ {
+ InitializeComponent();
+ }
+
+ private void InitializeComponent()
+ {
+ AvaloniaXamlLoader.Load(this);
+ }
+ }
+}
\ No newline at end of file

Added SearchPageView