private void OnValueChanged(ValueChangedEventArgs e) { ValueChangedEventHandler handler = ValueChanged; if (handler != null) handler(this, e); }
private void ValueChanged(object sender, ValueChangedEventArgs e) { textblock.Text = e.NewValue.ToString(); }