<Window x:Class="MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="DepthHistograms" Height="800" Width="1200">
    <Grid>
        <StackPanel>
            <StackPanel Orientation="Horizontal">
                <Image x:Name="Depth_Image" Width="640" Height="480"/>
                <Image x:Name="FilteredDepthImage" Width="640" Height="480"/>
            </StackPanel>

            <ScrollViewer Margin="0,15" HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto">
                <StackPanel x:Name="DepthHistogram" Orientation="Horizontal" Height="300"/>
            </ScrollViewer>
        </StackPanel>

        <TextBlock x:Name="FramesPerSecondElement" HorizontalAlignment="Right" VerticalAlignment="Bottom" FontSize="24"/>
    </Grid>
</Window>