private void DisabeMoveMode() { this.Dispatcher.Invoke(new Action(() => { this.slider.Opacity = 0; moveMode = false; })); }