Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MetroAnimatedSingleRowTabControl Scrollbar issue #3084

Closed
Speuline opened this issue Oct 17, 2017 · 1 comment
Closed

MetroAnimatedSingleRowTabControl Scrollbar issue #3084

Speuline opened this issue Oct 17, 2017 · 1 comment
Assignees
Milestone

Comments

@Speuline
Copy link

Hello,

Is it normal that the MetroAnimatedSingleRowTabControl header can't be scrolled with the mousewheel?
It's a bit annoying.

Thanks in advance

@punker76 punker76 self-assigned this Oct 17, 2017
@punker76 punker76 added this to the 1.6.0 milestone Oct 18, 2017
@punker76
Copy link
Member

punker76 commented Oct 18, 2017

@Speuline Hi, this is limited by the ScrollViewer itself, cause it doesn't handle this

    /// <summary>Responds to a click of the mouse wheel.</summary>
    /// <param name="e">Required arguments that describe this event.</param>
    protected override void OnMouseWheel(MouseWheelEventArgs e)
    {
      if (e.Handled || !this.HandlesMouseWheelScrolling)
        return;
      if (this.ScrollInfo != null)
      {
        if (e.Delta < 0)
          this.ScrollInfo.MouseWheelDown();
        else
          this.ScrollInfo.MouseWheelUp();
      }
      e.Handled = true;
    }

I will add a new attached property IsHorizontalScrollWheelEnabled in 1.6.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants