Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > TreeView > Remove Mouse Wheel Event

Not answered Remove Mouse Wheel Event

Feed from this thread
  • Manuela avatar

    Posted on Jan 4, 2012 (permalink)

    Hi,

    is there a possibility to remove or disable the Mouse Wheel Scrolling on an radtreeview ? I want not that the TreeView will scrolls by moving the Mouse Wheel.

    Thanks !

    Reply

  • Tina Stancheva Tina Stancheva admin's avatar

    Posted on Jan 9, 2012 (permalink)

    Hello Manuela,

    The RadTreeView control doesn't support this functionality out-of-the-box. But you can edit the default ControlTemplate of the RadTreeView control and set a custom ControlTemplate for the ScrollViewer element.

    In the ControlTemplate of the ScrollViewer you need to handle the  MouseWheel event of the ScrollContentPresenter. I attached a sample project that demonstrates this approach. Let me know if it helps.

    Greetings,
    Tina Stancheva
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

    Attached files

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > TreeView > Remove Mouse Wheel Event
Related resources for "Remove Mouse Wheel Event"

Silverlight TreeView Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  ]