c# wpf align label to other label code example
Example 1: wpf label text in center
<Label HorizontalContentAlignment="Center"/>
Example 2: xaml center label
<Label Text="Text Here" HorizontalTextAlignment="Center" FontSize="Title"/>
<Label HorizontalContentAlignment="Center"/>
<Label Text="Text Here" HorizontalTextAlignment="Center" FontSize="Title"/>