I have a context menu in WPF with, say, 40 menu items. I limited the height of the context menu to, say "130" so that only five item appear at a time. It perfectly automatically assigned scrollviewer which a user can use to scroll the items. In the mean time, I need to capture ScrollChanged event so that I could remember the last scroll position and assign it later. ScrollViewer in
does not have anything I could use for that purpose