This is a migrated thread and some comments may be shown as answers.

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

3 Answers 34 Views
TileView
This is a migrated thread and some comments may be shown as answers.
Bryce
Top achievements
Rank 1
Bryce asked on 07 Mar 2012, 08:45 PM
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

3 Answers, 1 is accepted

Sort by
0
Petar Mladenov
Telerik team
answered on 12 Mar 2012, 10:59 AM
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 >>
0
Bryce
Top achievements
Rank 1
answered on 12 Mar 2012, 07:59 PM
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
0
Petar Mladenov
Telerik team
answered on 15 Mar 2012, 02:43 PM
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 >>
Tags
TileView
Asked by
Bryce
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Bryce
Top achievements
Rank 1
Share this question
or