> <Window x:Class="Window1" > xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" > xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> > <Grid> > <StackPanel Orientation="Horizontal" > VerticalAlignment="Center" > HorizontalAlignment="Center"> > <Label Content="Name:"/> > <Label Content="Itzhak Perlman" FontSize="44"/> > </StackPanel> > </Grid> > </Window> >>
<Label VerticalContentAlignment="Bottom" Content="Name:"/>should do what you want but I've a feeling it won't give you the effect you expect since the setting has to allow for descenders and you are using different font sizes. Using VerticalAlignment will give the same appearance (unless you set, say, the background color). Best bet is probably VerticalContentAlignment="Center". If you do want to align text baselines then I guess you should be able to do this by adjusting the bottom margin. Something like :
<Label VerticalContentAlignment="Bottom" Content="Name:" Margin="0,0,0,8"/>