<?xml version="1.0" encoding="utf-8"?>
<UserControl x:Class="WindowLocalization.MainPage" mc:Ignorable="d" d:DesignWidth="640" d:DesignHeight="480" 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">
  <Grid x:Name="LayoutRoot">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <StackPanel Orientation="Horizontal" HorizontalAlignment="Stretch" Margin="4">
            <TextBlock Text="Language" TextWrapping="Wrap" TextAlignment="Center" VerticalAlignment="Center" Margin="8,0,0,0" />
            <ComboBox x:Name="cmbLanguages" Height="25" Margin="4,0,0,0">
                <ComboBox.ItemTemplate>
                    <DataTemplate>
                        <TextBlock Text="{Binding NativeName}" />
                    </DataTemplate>
                </ComboBox.ItemTemplate>
            </ComboBox>
        </StackPanel>
        <Button Content="Open Message Box" Grid.Row="1" Click="Button_Click" Margin="20" Height="40" Width="140" />
    </Grid>
</UserControl>