writing text in rectangle in xaml

The following code snippet of XML create a rectangle and put some text inside into rectangle by using Border control. As we know WPF Shapes are not container control, so we can put some text directly inside them or we will have to work extra for doing that. I am trying to show this with the following example:
 

 

Code

 

<Window x:Class="Window1"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Window1" Height="258" Width="480">
    <Grid>
        <Border CornerRadius="0" Background="#ffffff" BorderBrush="#2a3b57"
                    BorderThickness="3" Height="77" Margin="118,57,145,0"
                    Name="Border1" VerticalAlignment="Top" >
            <TextBlock Background="#ffffff" HorizontalAlignment="Center"
                           VerticalAlignment="Center" Height="34" Width="69"
                           TextWrapping="Wrap">
                    Welcome to AuthorCode
            </TextBlock>
        </Border>
    </Grid>
</Window>