views:

940

answers:

1

If you have a ListView with both horizontal and vertical scroll bars. How do you tell which one a scroll event is coming from?

ScrollBar.Scroll="xxx" doesn't seem to differentiate.

+1  A: 

Oops Figured it out:

The original source of the routed event will be the scroll bar, just need to check its Orientation property.

MJS