<UserControl xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"  x:Class="GreetNumericBehavior.MainPage"
    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"
    xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk"
     xmlns:helper="clr-namespace:GreetNumericBehavior.Helper"         
    mc:Ignorable="d"
    d:DesignHeight="200" d:DesignWidth="400">

    <Grid x:Name="LayoutRoot" Background="White">
        <StackPanel HorizontalAlignment="Stretch">
            <Grid x:Name="grdPersonInfo" Background="White" Height="130" Width="250">
                <Grid.RowDefinitions>
                    <RowDefinition Height="30"/>
                    <RowDefinition Height="30"/>
                    <RowDefinition Height="30"/>
                    <RowDefinition Height="30"/>
                </Grid.RowDefinitions>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="*"/>
                    <ColumnDefinition Width="*"/>
                </Grid.ColumnDefinitions>
                <sdk:Label Grid.Row="0" Grid.Column="0" Content="First Name" HorizontalAlignment="Center"/>
                <sdk:Label Grid.Row="1" Grid.Column="0" Content="Last Name" HorizontalAlignment="Center"/>
                <sdk:Label Grid.Row="2" Grid.Column="0" Content="Age" HorizontalAlignment="Center"/>
                <telerik:RadMaskedTextBox Name="txtFirstName" Grid.Row="0" Grid.Column="1" MaskType="None" />
                <telerik:RadMaskedTextBox Name="txtLastName" Grid.Row="1" Grid.Column="1" MaskType="None" />
                <telerik:RadMaskedTextBox Name="txtAge"  Grid.Row="2" Grid.Column="1" MaskType="None" helper:NumericTextBoxBehavior.NumericFilter="NumericWithOutDecimal" />
                <Button Name="btnEnter" Grid.Row="3" Grid.Column="1" Content="Enter" Click="btnEnter_Click"  />
            </Grid>
            <TextBlock Name="txtGreeting" FontSize="15" Height="75" HorizontalAlignment="Center"></TextBlock>
        </StackPanel>
    </Grid>
</UserControl>
