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:




<Window x:Class="Window1"
        Title="Window1" Height="258" Width="480">
        <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"
                    Welcome to AuthorCode