TileView Scrolling In just the Items

5 posts, 1 answers
  1. Adam
    Adam avatar
    6 posts
    Member since:
    Sep 2015

    Posted 07 Jan Link to this post

    Hello,

    I am using a tile view and within the tiles there is scrollable content. How can I make it that the scroll for the tile view is not active when the mouse is over the scrollable content in the tile?  Thanks!

  2. Martin
    Admin
    Martin avatar
    1099 posts

    Posted 11 Jan Link to this post

    Hi Adam,

    When the content of RadTileView is scrollable and the mouse is over it, the vertical scroll bar of RadTileView is not activated. Can you please take a look at the attached project and let me know if I am missing something?

    Regards,
    Martin
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. UI for WPF is Visual Studio 2017 Ready
  4. Adam
    Adam avatar
    6 posts
    Member since:
    Sep 2015

    Posted 11 Jan Link to this post

    I will have to check out that file after work as I cant do rar files here.  In a more descriptive manner here is my problem:

    I have a radtileview. This tile view is bound to a collection of items. When shown in the tile view they have an image which I want to use the mouse wheel to zoom in on.  however, when there are more tilesand the tileview makes its scrollbar visible, it scrolls the view as well as the image in the tiles.  I want to separate this so that if the cursor is above the tile with the zoom control, it only zooms and does not scroll the tile view.

     if your file addresses this I guess Ill find out tonight otherwise, any suggestions?

  5. Answer
    Martin
    Admin
    Martin avatar
    1099 posts

    Posted 12 Jan Link to this post

    Hello Adam,

    Without the implementation of your zoom control I cannot be sure what is causing the issue, so I would ask you to send me a runnable example in code. This way I can test it locally and investigate what is causing this behavior. 

    In the mean time, you can try to handle the MouseWheel event of the zoom control so that it doesn't bubble to the ScrollViewer of the tileview.
    void zoomControl_MouseWheel(object sender, System.Windows.Input.MouseWheelEventArgs e)
    {
        e.Handled = true;
    }

    Regards,
    Martin
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  6. Adam
    Adam avatar
    6 posts
    Member since:
    Sep 2015

    Posted 12 Jan Link to this post

    I don't know how I missed this. Thanks for solving the problem.

    -adam

Back to Top
UI for WPF is Visual Studio 2017 Ready