<UserControl x:Class="AddingNewDataItem.PopupControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
			 xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
			 xmlns:my="clr-namespace:AddingNewDataItem"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
	<UserControl.Resources>
		<my:MyViewModel x:Key="MyViewModel" />
	</UserControl.Resources>

	<Grid x:Name="LayoutRoot" Background="White" >
		<Grid.ColumnDefinitions >
			<ColumnDefinition Width="120" />
			<ColumnDefinition Width="230"/>
			<ColumnDefinition Width="120"/>
			<ColumnDefinition Width="230"/>
		</Grid.ColumnDefinitions>
		<Grid.RowDefinitions>
			<RowDefinition />
			<RowDefinition />
			<RowDefinition />
			<RowDefinition />
			<RowDefinition />
		</Grid.RowDefinitions>

		<TextBlock Grid.Row="0" Grid.Column="0" Margin="5,5,5,2" Text="Name: " VerticalAlignment="Center" Foreground="Black" />
		<TextBox x:Name="textBox1" Grid.Row="0" Grid.Column="1" Margin="5,5,5,2" Height="24" Text="{Binding Name, Mode=TwoWay}" VerticalContentAlignment="Center" />
		<TextBlock  Grid.Row="1" Grid.Column="0" Margin="5,2,5,2" Text="Position: " VerticalAlignment="Center" Foreground="Black" />
		<TextBox Grid.Row="1" Grid.Column="1" Margin="5,2,5,2" Height="24"  Text="{Binding Position,Mode=TwoWay}"  VerticalContentAlignment="Center" />
		<TextBlock Grid.Row="2" Grid.Column="0" Margin="5,2,5,2" Text="Number: " VerticalAlignment="Center" Foreground="Black" />
		<TextBox  Grid.Row="2" Grid.Column="1" Margin="5,2,5,2" Height="24" Text="{Binding Number,Mode=TwoWay}" VerticalContentAlignment="Center" />
		<TextBlock Grid.Row="3" Grid.Column="0" Margin="5,5,5,2" Text="Country:" VerticalAlignment="Center" Foreground="Black" />
		<TextBox  Grid.Row="3" Grid.Column="1" Margin="5,5,5,2" Height="24" Text="{Binding Country, Mode=TwoWay}"  VerticalContentAlignment="Center" />

		<StackPanel Grid.Row="4">
			<telerik:RadButton Grid.Column="0" Content="Save" Click="RadButton_Click"/>
			<telerik:RadButton Grid.Column="1" Content="Cancel" Click="RadButton_Click_1"/>
		</StackPanel>

	</Grid>
</UserControl>
