Simple TextBlock : TextBlock « Windows Presentation Foundation « VB.Net
- VB.Net
- Windows Presentation Foundation
- TextBlock
Simple TextBlock

<Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
HorizontalAlignment="Center" VerticalAlignment="Center"
TextElement.FontFamily="Palatino Linotype"
FontSize="40">
<TextBlock Text="Some text" />
</Page>
Related examples in the same category