【问题标题】:How can you set in code the ScrollViewer.IsDeferredScrollingEnabled for a datagrid如何在代码中为数据网格设置 ScrollViewer.IsDeferredScrollingEnabled
【发布时间】:2014-11-18 20:27:46
【问题描述】:

我想在 C# 中设置它,但我无法访问该属性。

【问题讨论】:

标签: wpf datagrid scrollviewer


【解决方案1】:

您可以在 C# 中使用其附加属性进行设置

ScrollViewer.SetIsDeferredScrollingEnabled(DataGrid,false);

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-12-19
    • 1970-01-01
    • 2011-11-01
    • 1970-01-01
    • 2013-11-20
    相关资源
    最近更新 更多