CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2005
    Location
    Israel
    Posts
    1,475

    Setting Row Height of ListView

    How do I set the height of the rows in a list view?
    I don't want to change the size of the font.

  2. #2
    Join Date
    Sep 2005
    Posts
    1

    Re: Setting Row Height of ListView

    use image list and set its image size.

    this.HeightControlImageList = new System.Windows.Forms.ImageList(this.components);
    this.HeightControlImageList.ImageSize = new System.Drawing.Size(1, 18);
    this.HeightControlImageList.TransparentColor = System.Drawing.Color.Transparent;
    listView1.SmallImageList = this.HeightControlImageList;

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured