Example of TextBlock properties in Silverlight/WPF

<Grid>
  <TextBlock Text="Hello World"
             Foreground="White"
             FontFamily="Segoe WP"
             FontSize="18"
             FontWeight="Bold"
             FontStyle="Italic"
             TextWrapping="Wrap"
             TextAlignment="Center" />
</Grid>

Enjoyed this post? Share it!

 

Leave a comment

Your email address will not be published.