【问题标题】:c#Listview:How to create Columns without headerc#Listview:如何创建没有标题的列
【发布时间】:2010-04-28 11:31:54
【问题描述】:

我在 WinForm 上有 Listview

我需要有两列但没有标题,我该怎么做?

【问题讨论】:

    标签: c# winforms listview


    【解决方案1】:

    我认为 ListView.HeaderStyle = ColumnHeaderStyle.None 应该可以解决问题。

    【讨论】:

    • 也许与 SubItems 集合? ListViewItem item1 = new ListViewItem("item1",0); item1.SubItems.Add("1");
    猜你喜欢
    • 2023-03-31
    • 2021-09-27
    • 1970-01-01
    • 2021-03-09
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-02-08
    • 1970-01-01
    相关资源
    最近更新 更多