<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-navigator="clr-namespace:qmonlib.ui.ViewModels.Navigator"
             mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
             x:Class="qmonlib.ui.Views.Navigator.NavGeneralMetadata"
             x:CompileBindings="False"
             >
    <Grid DataContext="{Binding NavSearch}">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*" />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>
        
        <!-- list: shows general metadata (filtered) -->
        <ListBox Grid.Row="1" ItemsSource="{Binding DataFiltered}" >
            <ListBox.ItemTemplate>
                <DataTemplate>
                    <TextBlock Text="{Binding Name}"/>
                </DataTemplate>
            </ListBox.ItemTemplate>
        </ListBox>
    </Grid>
</UserControl>
