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

TileView Scrolling In just the Items

4 Answers 39 Views
TileView
This is a migrated thread and some comments may be shown as answers.
Adam
Top achievements
Rank 1
Adam asked on 07 Jan 2016, 01:07 PM

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!

4 Answers, 1 is accepted

Sort by
0
Martin Ivanov
Telerik team
answered on 11 Jan 2016, 09:20 AM
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
0
Adam
Top achievements
Rank 1
answered on 11 Jan 2016, 03:28 PM

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?

0
Accepted
Martin Ivanov
Telerik team
answered on 12 Jan 2016, 09:57 AM
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
0
Adam
Top achievements
Rank 1
answered on 12 Jan 2016, 12:44 PM

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

-adam

Tags
TileView
Asked by
Adam
Top achievements
Rank 1
Answers by
Martin Ivanov
Telerik team
Adam
Top achievements
Rank 1
Share this question
or