修改listview View属性为SmallIcon即可。

解决方案 »

  1.   

    改成samllIcon也不能全部竖着显示,结果变成
    1 2 3
    1 2 3
    1 2 3
    1 2
    1 2
    这种样子,而我需要的是
    1
    1
    1
    1
    1
    1
    2
    2
    2
    2
    2
    2
    3
    3
    3
      

  2.   

    不可能啊,我刚试过了,没有你所说的现象。
    以下是初始化的代码:
    this.listView1.Location = new System.Drawing.Point(24, 40);
    this.listView1.Name = "listView1";
    this.listView1.Size = new System.Drawing.Size(200, 200);
    this.listView1.SmallImageList = this.imageList1;
    this.listView1.TabIndex = 1;
    this.listView1.View = System.Windows.Forms.View.SmallIcon;
      

  3.   

    你把你的listview初始化的代码贴出来让我看看
      

  4.   

    this.listView1.Alignment = System.Windows.Forms.ListViewAlignment.Left;
    this.listView1.Location = new System.Drawing.Point(0, 0);
    this.listView1.Name = "listView1";
    this.listView1.RightToLeft = System.Windows.Forms.RightToLeft.No;
    this.listView1.Size = new System.Drawing.Size(160, 273);
    this.listView1.SmallImageList = this.imageList1;
    this.listView1.TabIndex = 1;
    this.listView1.View = System.Windows.Forms.View.SmallIcon
    现在是横着竖着都有滚动条,
      

  5.   

    你把
    this.listView1.Alignment = System.Windows.Forms.ListViewAlignment.Left;
    改为
    this.listView1.Alignment = System.Windows.Forms.ListViewAlignment.Top;