How can you set in code the ScrollViewer.IsDeferredScrollingEnabled for a datagrid

691 Views Asked by At

I would like to set this in C# but I cannot access the property.

1

There are 1 best solutions below

0
On

You can set this in C# by using its attached property

ScrollViewer.SetIsDeferredScrollingEnabled(DataGrid,false);