markdig.wpf
markdig.wpf copied to clipboard
Adding HandleVerticalScrollEvents Dependency Property
Added Dependency Property to control if vertical scroll events should be handled.
Context?
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.
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.
Give me a week or so and I will provide you a minimum reproducible scenario.
I just added a WPF sample application to my keepachangelogparser repository. The sample application has the described problem of vertical scrolling.