【问题标题】:Why is the DataGridView columns stacked on top of each other?为什么 DataGridView 列相互堆叠?
【发布时间】:2012-07-10 19:11:46
【问题描述】:

在 winform 上,我有一个 DataGridView 和其中的列。出于某种奇怪的原因,当我运行我的程序时,这些列在运行时彼此堆叠在一起。无论我做什么,都不会改变。我不知道我是在设置某些属性还是什么。

设计期间:

运行期间:

【问题讨论】:

  • 检查列宽?

标签: .net datagridview delphi-prism datagridviewcolumn oxygene


【解决方案1】:

根据 lc 的建议,需要设置列宽和最小宽度。我将列的宽度设置为 100,最小宽度设置为 5。当我将最小宽度更改为 100 时,它起作用了。

感谢 lc。

【讨论】:

    猜你喜欢
    • 2013-11-18
    • 1970-01-01
    • 2021-04-30
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多