Scrolling within maximizedtile scrolls tiles on the right, but I only want to scroll within maximized tile

4 posts, 0 answers
  1. Bryce
    Bryce avatar
    32 posts
    Member since:
    Aug 2010

    Posted 07 Mar 2012 Link to this post

    Hi,

    I have a scrollviewer in my maximized tileview. When I finish scrolling within the maximized tileview scrollviewer, it automatically starts scrolling the tiles on the right side. If the user is within the Maximized tile, and they use the mouse wheel, is there a way to just scroll within the maximized tile and once its finished scrolling within the maximized tile, don't scroll the other tiles? Also, another thing I noticed is TileView only scrolls if the mouse is over a tile. If the mouse is not over a tile and in the blank space between tiles, it doesn't scroll.

    Thanks,
    Bryce
  2. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 12 Mar 2012 Link to this post

    Hello Bryce,

     I prepared a project for you in which I use the MouseWheel event of the ScrollViewer inside the RadTreeView in order to stop the Scrolling of the Minimized tiles. Please check it out and let us know if it satisfies you.

    All the best,
    Petar Mladenov
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
  3. DevCraft banner
  4. Bryce
    Bryce avatar
    32 posts
    Member since:
    Aug 2010

    Posted 12 Mar 2012 Link to this post

    Hi Petar,

    I place a scrollviewer in my XAML and have it be visible if the view is too small within the tile. So I tried following the attached project for when the scrollviewer is loaded so I try to catch the mousewheel event, but since its a scrollviewer it doesn't have any children. Basically what I need is a way to handle if I put in a scrollviewer within a tile like so:

    <ScrollViewer>
    <TextBlock/>
    </ScrollViewer>

    Thanks,
    Bryce
  5. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 15 Mar 2012 Link to this post

    Hi Bryce,

     If you define the ScrollViewer in XAML, why not using directly its MouseWheel event. Please check out the modified project and let us know if this is what you need.

    All the best,
    Petar Mladenov
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Back to Top