title: How to convert slider value to textbox
body: <p>i'm new in C# and I want to convert value of slider to textbox. One option i found is set binding for text box, but I need send value in event.
  I tried some solutions, but not worked.</p>
  
  <pre><code>private void sliderName_ValueChanged(object sender, RoutedPropertyChangedEventArgs&lt;double&gt; e)
      {
          Slider sliderName = sender as Slider;
          TextBox textBoxName = new TextBox();
  
          textBoxName.Text = sliderName.Value.ToString();
  
      }
  </code></pre>
  
  <p>Thanks for helping and be patient with me. :)</p>