'ListView adding an empty colomn

I have my listView in C#. It should have only one colomn, and also the attribute fo Colomns shows it has only one colomn, but the display shows two:

enter image description here

The ListView is initiated very simply, using

initializeComponenet()

which contains following code:

        **this.lstDS.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
              this.DirectoryHeader});**

        this.lstDS.Font = new System.Drawing.Font("Microsoft Sans Serif", 12.75F);
        this.lstDS.ForeColor = System.Drawing.Color.White;
        this.lstDS.FullRowSelect = true;
        this.lstDS.HideSelection = false;
        this.lstDS.Items.AddRange(new System.Windows.Forms.ListViewItem[] {
        listViewItem1,
        listViewItem2});
        this.lstDS.Location = new System.Drawing.Point(75, 152);
        this.lstDS.MultiSelect = false;
        this.lstDS.Name = "lstDS";
        this.lstDS.Size = new System.Drawing.Size(203, 138);
        this.lstDS.TabIndex = 37;
        this.lstDS.UseCompatibleStateImageBehavior = false;
        this.lstDS.View = System.Window

if you ask yourself - here's DirectoryHeader:

private ColumnHeader DirectoryHeader;

But for any reason, it appears as if it has 2 columns.

Any idea what to check?

Thanks!



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source