how to acces text of label wpf code example
Example 1: c# wpf change label text color
(name label).Foreground = new SolidColorBrush(Color.FromRgb(0, 0, 0));
Example 2: wpf label text in center
<Label HorizontalContentAlignment="Center"/>
(name label).Foreground = new SolidColorBrush(Color.FromRgb(0, 0, 0));
<Label HorizontalContentAlignment="Center"/>