Alex Rivera | Logout

WPF - ScrollViewer with fixed header/row

Asked 2012-05-08T20:19:10.627
10

What is the easiest way to create ScrollViewer with fixed header (control that always stays at the top ignoring the scroll), but which still scrolls horizontally.

Should I write my own ScrollViewer template with header above ScrollContentPresenter, and move it when horizontal scroll value changes, or maybe it's better to put header inside ScrollViewer and move it vertically? Or maybe there is a lot better way to achieve this...

Edit
Report

1 Answer

-3

you can disable the vertical scrollbar in this way:

ScrollViewer.VerticalScrollBarVisibility="Disabled"
answered 2012-05-08T20:44:25.327

Your Answer