c# - Infragistics UltraWinGrid 禁用第一列

标签 c# infragistics ultrawingrid

我有一个基础设施 UltraWinGrid,我想禁用第一列或将其设为“只读”。有什么方法可以做到这一点?

我试过了(这些都不起作用):

        _ultraGridRetailers.DisplayLayout.Bands[0].Columns[0].CellActivation = Activation.Disabled;
        _ultraGridRetailers.Rows[0].Cells[0].Activation = Activation.Disabled;

最佳答案

对于任何具体问题,最好联系 Infragistics 的支持,但关于您的问题:Blog one

尝试调试您的应用程序,看看您是否过早地设置了此行为,或者您是否在指定的行为之后在代码中重置了它。根据博文,这应该是实现目标的方法,如果它不起作用,您最好联系支持人员并提交开发问题。

关于c# - Infragistics UltraWinGrid 禁用第一列,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8755570/

相关文章:

c# - 等价于 C++ 的#region

C# 相当于 getClassLoader().getResourceAsStream(...)

visual-studio - 无法找到许可证组件

c# - 有没有办法根据 2 列的值过滤 UltraGrids?

infragistics - 如何刷新 Infragistics UltraGrid?

c# - 无法转换泛型

c# - Net Core 3 上的 Web Api 版本控制

c# - 调整 Infragistics UltraGrid 的大小以完美适应其内容

infragistics - 使用 UltraWinGrid 选择同一列中的多个单元格

winforms - 在 Infragistics UltraGrid 中为选定行上有错误的单元格设置背景