WPF datagrid vertical scrollbat does not work after set another control

Herbert V 1 Reputation point
2022-01-27T09:22:46.223+00:00

I have a WPF MVVM program with a datagrid dat is populated with
records. Works fine. I have a label which is bound to a property in the viewmodel (INotifyPropertyChanged).
Works fine, but when i change the text of the label through the property, the vertical scrollbar of the
datagrid doesnt work anymore. I can still select rows in the datagrid and scroll through the rows with mouse
but the vertical scrollbar is frozen. Very strange. Has anybody any idea what can be the problem.

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,681 questions
{count} votes