namespace WindowsPhoneApp
{
Class MainPage()
{
private void ProcentSlider_ValueChanged(object sender, RoutedPropertyChangedEventArgs<double> e)
{
ShowSliderValue.Text = ProcentSlider.Value.ToString(); //<-- NullReferenceException
}
}
}
I can’t reference the value of the Slider control to the TextBox control…
Try this – it might be because the ShowSliderValue is running in a different thread.. bit of a guess though.
or maybe this?