private void UpdateImageScrollBar(double value) { //TODO: tie this animation into the Translate RenderTransform properties changes _imageScrollBarAnimation.From = _imageScrollBar.Value; _imageScrollBarAnimation.To = Math.Abs(value); _imageScrollBar.BeginAnimation(ScrollBar.ValueProperty, _imageScrollBarAnimation); //_imageScrollBar.Value = Math.Abs(value); }
public void HideScrollbar() { _vScrollBar.BeginAnimation(ScrollBar.OpacityProperty, _hideanimation); _hScrollBar.BeginAnimation(ScrollBar.OpacityProperty, _hideanimation); }
private void UpdateProgressScrollBar(double value) { _imageScrollBarAnimation.From = _progressScrollBar.Value; _imageScrollBarAnimation.To = value; _progressScrollBar.BeginAnimation(ScrollBar.ValueProperty, _imageScrollBarAnimation); }