Display Simple Text with TextBlock and set font, alignment
<Window x:Class="WpfApplication1.Window1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="WPF" Height="100" Width="300"> <Grid> <TextBlock FontFamily="Tahoma, Arial" FontSize="20" FontStyle="Italic" FontWeight="Light" HorizontalAlignment="Center" TextAlignment="Right" TextDecorations="Underline, Strikethrough" TextWrapping="Wrap" VerticalAlignment="Center"> this is a test </TextBlock> </Grid> </Window>