<Window x:Class="DataBinding.VirtualizationTest"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="FastAndSlowComboBox" Height="300" Width="300" Loaded="Window_Loaded">
	<Grid Margin="5">
		<Grid.ColumnDefinitions>
			<ColumnDefinition Width="Auto"></ColumnDefinition>
			<ColumnDefinition></ColumnDefinition>
		</Grid.ColumnDefinitions>
		<Grid.RowDefinitions>
			<RowDefinition Height="Auto"></RowDefinition>
			<RowDefinition Height="Auto"></RowDefinition>
		</Grid.RowDefinitions>
		<TextBlock VerticalAlignment="Center">Slow ComboBox:</TextBlock>
		<ComboBox Name="lstSlow" Grid.Column="1" Margin="5"></ComboBox>
		<TextBlock Grid.Row="1" VerticalAlignment="Center">Fast ComboBox:</TextBlock>
        <ComboBox Name="lstFast" Grid.Row="1" Grid.Column="1" Margin="5" VirtualizingStackPanel.ScrollUnit="Pixel">
			<ComboBox.ItemsPanel>
				<ItemsPanelTemplate>
					<VirtualizingStackPanel></VirtualizingStackPanel>
				</ItemsPanelTemplate>
			</ComboBox.ItemsPanel>
		</ComboBox>
	</Grid>
</Window>
