I can't set the FontSize of the Text in a TextBlock, since the TextBox is in a Viewbox. Why?
<Border Grid.Row="0" Grid.Column="0" BorderBrush="Black" BorderThickness="1,1,1,0" />
<Viewbox>
<TextBlock Margin="10,5,0,5" Grid.Row="0" Grid.Column="0">Team:</TextBlock>
</Viewbox>
<Border Grid.Row="1" Grid.Column="0" BorderBrush="Black" BorderThickness="1,1,1,0" />
<TextBlock Margin="10,5,0,5" Grid.Row="1" Grid.Column="0">Beschreibung:</TextBlock>
<Border Grid.Row="2" Grid.Column="0" BorderBrush="Black" BorderThickness="1,1,1,0" />
<TextBlock Margin="10,5,0,5" Grid.Row="2" Grid.Column="0">Milestone:</TextBlock>
<Border Grid.Row="3" Grid.Column="0" BorderBrush="Black" BorderThickness="1,1,1,1" />
<TextBlock Margin="10,5,0,5" Grid.Row="3" Grid.Column="0">Status:</TextBlock>
<Border Grid.Row="0" Grid.Column="1" BorderBrush="Black" BorderThickness="0,1,1,0" />
<TextBlock x:Name="tb_Team_dyn" Margin="10,5,0,5" Grid.Row="0" Grid.Column="1" FontWeight="Bold" Text="{Binding Data.Team}" TextWrapping="Wrap"></TextBlock>
<Border Grid.Row="1" Grid.Column="1" BorderBrush="Black" BorderThickness="0,1,1,0" />
<TextBlock x:Name="tb_Descr_dyn" Margin="10,5,0,5" Grid.Row="1" Grid.Column="1" FontWeight="Bold" Text="{Binding Data.Description}" TextWrapping="Wrap"></TextBlock>
<Border Grid.Row="2" Grid.Column="1" BorderBrush="Black" BorderThickness="0,1,1,0" />
<TextBlock x:Name="tb_Milestone_dyn" Margin="10,5,0,5" Grid.Row="2" Grid.Column="1" FontWeight="Bold" Text="{Binding Data.Milestone}" TextWrapping="Wrap"></TextBlock>
<Border Grid.Row="3" Grid.Column="1" BorderBrush="Black" BorderThickness="0,1,1,1" />
<StackPanel Margin="10,5,0,5" Grid.Row="3" Grid.Column="1" Orientation="Horizontal">
<Image x:Name="imgSmile" MaxWidth="38" Source="{Binding Data.Smiley}" />
<TextBlock x:Name="tb_Status_dyn" Margin="{Binding Data.SmileyMargin}" Foreground="{Binding Data.Col}" FontWeight="Bold" Text="{Binding Data.Status}" TextWrapping="Wrap"></TextBlock>
</StackPanel>
</Grid>
I can set the FontSizes of all of the TextBlocks but not of the Textblock which is in the Viewbox.