How to freeze the first row and first column in a WPF grid

Is there a way to freeze the first row and first column of a grid (rather than a data grid) in WPF? My application has a grid containing line chart controls, and I would like to have the first row to hold the labels that will remain stationary while scrolling vertically, and for the first column, to keep the labels that remain when I scroll horizontally. Anyone can share an example on how to do this?

+4
source share

Source: https://habr.com/ru/post/1433912/


All Articles