<Window 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"
        mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
		x:CompileBindings="False"
        x:Class="Demo2703.History"
        Title="History">
	<DockPanel >
		<ComboBox Background="#04A0FF" DockPanel.Dock="Top" Name="FilterProduct"  SelectionChanged="ComboBox_SelectionChanged"  Margin="5" Grid.Column="1" >
			<ComboBox.ItemTemplate>
				<DataTemplate>
					<TextBlock Width="400"  Text="{Binding Title}" />
				</DataTemplate>
			</ComboBox.ItemTemplate>
		</ComboBox>
		<Border BorderBrush="Black" BorderThickness="2">
			<ListBox Name="ListBOX" Height="400">
				<ListBox.ItemTemplate>
					<DataTemplate>
						<Border Background="#E7FABF" Margin="5" BorderBrush="Black" BorderThickness="2">
							<Grid ColumnDefinitions="350, 350">
								<StackPanel Grid.ColumnSpan="2" Grid.Column="0">
										<TextBlock Text="{Binding Product.Title}"/>
										<TextBlock Text="{Binding Saledate}"/>
									<TextBlock Text="{Binding Quantity}"/>
									
									
								</StackPanel>
							</Grid>
						</Border>
						
					</DataTemplate>
				</ListBox.ItemTemplate>
				
			</ListBox>
		</Border>
	</DockPanel>
</Window>
