label center wpf code example
Example 1: wpf label text in center
<Label HorizontalContentAlignment="Center"/>
Example 2: wpf label textbox align center
<Label Content="Text To Center" Width="100" HorizontalContentAlignment="Center"></Label>
<Label HorizontalContentAlignment="Center"/>
<Label Content="Text To Center" Width="100" HorizontalContentAlignment="Center"></Label>