<Grid x:Name="LayoutRoot" Background="White">
<Border BorderBrush="Blue" BorderThickness="1" CornerRadius="5">
<TextBlock x:Name="Itself" Text="{Binding ElementName=Itself, Path=ActualHeight}" />
</Border>
</Grid>
Given the aforementioned XAML, with Silverlight 4, TextBlock has a standard default font of 11 and ActualHeight of 16. The actual one shown by itself will be 0 due to the fact that the height is calculated too late.
Suppose you did not specify them, in which case they will not be used by default.
, XAML WPF, TextBlock . ( ) , ActualHeight 310. WPF , Silverlight ActualHeight. . , ( NaN).