Skip to content
This repository was archived by the owner on Mar 14, 2024. It is now read-only.

Adding HandleVerticalScrollEvents Dependency Property #44

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

shuelsmeier
Copy link

Added Dependency Property to control if vertical scroll events should be handled.

@Kryptos-FR
Copy link
Owner

Context?

@shuelsmeier
Copy link
Author

Sorry, that I haven't provided a context. The WPF application I am currently working on has a Window that uses nested DataGrids. I had the problem that using the mouse wheel to scroll up/down did not work, when the cursor was over a MarkdownViewer element. I tried multiple different approaches to solve the problem. The only one that worked was adding a new dependency property to MarkdownViewer to be able to set the handling of the vertical scroll events to false.

@Kryptos-FR
Copy link
Owner

Ok. I see what you mean. But there should be ways to disable scrolling without having to modify the viewer itself.

Can you provide a minimum reproducible scenario, so I can try to figure out what is required?

PS: sorry for late reply I have been busy the last few weeks.

@shuelsmeier
Copy link
Author

Give me a week or so and I will provide you a minimum reproducible scenario.

@shuelsmeier
Copy link
Author

I just added a WPF sample application to my keepachangelogparser repository. The sample application has the described problem of vertical scrolling.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants