troubleshooting Question

WPF Scrollviewer keeps moving when a combobox inside of it is scrolled to bottom

Avatar of databarracks
databarracks asked on
* WPF* xamlC#
2 Comments1 Solution246 ViewsLast Modified:
Hi Guys,

I have a window which has a scrollviewer inside of it. Inside of that is a host of other controls, one of which is a combobox which has a lot of items. I have set a maxheight for the combobox dropdown and virtualized it. However when I am scrolling the combobox items and reach the bottom or top of the scrolling the main(outer) scrollviewer also keeps moving.

I am aware this is a bubbling effect WPF has but I would like to know how I can only allow the main(outer) scrollviewer to scroll when the drop down isn't open?

A behaviour or something perhaps or a totally different approach perhaps?
ASKER CERTIFIED SOLUTION
it_saige
Developer
Join our community to see this answer!
Unlock 1 Answer and 2 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros