programming-examples/c-sharp/Others/Set TextBlock.FontSize for Grid.cs

16 lines
434 B
C#
Raw Normal View History

2019-11-15 12:59:38 +01:00
Set TextBlock.FontSize for Grid
<Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
x:Class="Microsoft.Samples.Graphics.RectangleExample"
WindowTitle="Sample">
<Canvas>
<Grid Margin="4" TextBlock.FontSize="20">
<TextBlock Margin="8" VerticalAlignment="Center">Exclude</TextBlock>
</Grid>
</Canvas>
</Page>