83 lines
3.6 KiB
XML
83 lines
3.6 KiB
XML
<Window x:Class="FasdDesktopUi.Pages.AdvancedSearchPage.AdvancedSearchPage"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
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:local="clr-namespace:FasdDesktopUi.Pages.AdvancedSearchPage"
|
|
xmlns:buc="clr-namespace:FasdDesktopUi.Basics.UserControls"
|
|
xmlns:ico="clr-namespace:FasdDesktopUi.Basics.UserControls.AdaptableIcon;assembly=F4SD-AdaptableIcon"
|
|
xmlns:vc="clr-namespace:FasdDesktopUi.Basics.Converter"
|
|
mc:Ignorable="d"
|
|
Name="AdvancedSearchPageWindow"
|
|
Title="AdvancedSearchPage"
|
|
Height="450"
|
|
Width="800"
|
|
WindowState="Maximized"
|
|
Background="Transparent"
|
|
WindowStyle="None"
|
|
AllowsTransparency="True">
|
|
|
|
<Window.Resources>
|
|
<vc:LanguageDefinitionsConverter x:Key="LanguageConverter" />
|
|
</Window.Resources>
|
|
|
|
<Grid x:Name="BodyStack">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="auto" />
|
|
<RowDefinition Height="auto" />
|
|
<RowDefinition Height="auto" />
|
|
</Grid.RowDefinitions>
|
|
|
|
<buc:SearchBar x:Name="SearchBarUc"
|
|
x:FieldModifier="private"
|
|
Grid.Row="0"
|
|
FontSize="20"
|
|
HorizontalAlignment="Center"
|
|
Width="450"
|
|
Margin="0 200 0 0"
|
|
SearchButtonSize="30"
|
|
CloseButtonSize="30" />
|
|
|
|
<buc:SearchFilterBar x:Name="SearchFilterBar"
|
|
x:FieldModifier="private"
|
|
Margin="0 -5 0 -5"
|
|
Grid.Row="1"
|
|
FontSize="{Binding ElementName=SearchBarUc, Path=FontSize}"
|
|
HorizontalAlignment="Center"
|
|
Width="{Binding ElementName=SearchBarUc, Path=ActualWidth}"
|
|
FilterChanged="SearchFilterBar_FilterChanged"
|
|
InformationClassesToFilter="{Binding ElementName=AdvancedSearchPageWindow, Path=FilterInformationClasses}" />
|
|
|
|
<Border x:Name="SearchResultBorder"
|
|
x:FieldModifier="private"
|
|
Grid.Row="2"
|
|
MaxHeight="350"
|
|
Padding="10"
|
|
Margin="0 10 0 0"
|
|
Width="{Binding ElementName=SearchBarUc, Path=ActualWidth}"
|
|
Background="{DynamicResource BackgroundColor.Menu.Categories}"
|
|
CornerRadius="10"
|
|
Visibility="Collapsed">
|
|
|
|
<buc:CustomSearchResultCollection x:Name="ResultMenu"
|
|
x:FieldModifier="private"
|
|
FontSize="14" />
|
|
</Border>
|
|
|
|
<Border x:Name="SearchHistoryBorder"
|
|
x:FieldModifier="private"
|
|
Grid.Row="1"
|
|
Padding="10"
|
|
Margin="0 100 0 0"
|
|
Width="{Binding ElementName=SearchBarUc, Path=ActualWidth}"
|
|
Background="{DynamicResource BackgroundColor.Menu.Categories}"
|
|
CornerRadius="10"
|
|
Visibility="Collapsed">
|
|
|
|
<buc:CustomSearchResultCollection x:Name="SearchHistory"
|
|
x:FieldModifier="private" />
|
|
</Border>
|
|
|
|
</Grid>
|
|
</Window>
|