ListView with fixed columns
October 01, 2008
There are situations when you need some column(s) to have fixed width or to be fixed on left or right side of the ListView control, while other columns remain scrollable.
How to fix column width:
In the code below the first columns has fixed width to 100 pixels.
this.listView1.Columns[0].Width = 100;
this.listView1.Columns[0].FixedWidth = true;
Me.listView1.Columns[0].Width = 100
Me.listView1.Columns[0].FixedWidth = True
How to fix column to the left side of ListView control:
By default columns in IntegralUI ListView are not fixed to either control side. There are three values for Fixed property from which you can choose how the column is fixed: None, Left and Right. In the code below the first column is fixed to the control left side.
this.listView1.Columns[0].Fixed = LidorSystems.IntegralUI.Lists.ColumnFixedType.Left;
Me.listView1.Columns[0].Fixed = LidorSystems.IntegralUI.Lists.ColumnFixedType.Left

