51 writes to Width
System.Windows.Forms (15)
System\Windows\Forms\Controls\ListView\ColumnHeader.cs (2)
48Width = width; 446columnHeader.Width = _width;
System\Windows\Forms\Controls\ListView\ListView.ColumnHeaderCollection.cs (10)
178Width = width, 207Width = width 228Width = width 239Width = width, 251Width = width, 421Width = width, 443Width = width 464Width = width 475Width = width, 487Width = width,
System\Windows\Forms\Controls\ListView\ListView.cs (3)
6154_columnHeaders[nmheader->iItem].Width = _newWidthForColumnWidthChangingCancelled; 6276_columnHeaders[nmheader->iItem].Width = _newWidthForColumnWidthChangingCancelled; 6296col.Width += compensateForColumnResize;
System.Windows.Forms.Design (3)
System\Windows\Forms\Design\MaskDesignerDialog.cs (3)
73_maskDescriptionHeader.Width = _listViewCannedMasks.Width / 3; 78_dataFormatHeader.Width = _listViewCannedMasks.Width / 3; 83_validatingTypeHeader.Width = (_listViewCannedMasks.Width / 3) - SystemInformation.VerticalScrollBarWidth - 4; // so no h-scrollbar.
System.Windows.Forms.Tests (30)
System\Windows\Forms\AccessibleObjects\ListVIew.ListViewAccessibleObjectTests.cs (10)
1149listView.Columns.Add(new ColumnHeader("Column 1") { Width = 70 }); 1150listView.Columns.Add(new ColumnHeader("Column 2") { Width = 70 }); 1172listView.Columns.Add(new ColumnHeader("Column 1") { Width = 70 }); 1173listView.Columns.Add(new ColumnHeader("Column 2") { Width = 70 }); 1191listView.Columns.Add(new ColumnHeader("Column 1") { Width = 70 }); 1192listView.Columns.Add(new ColumnHeader("Column 2") { Width = 70 }); 1193listView.Columns.Add(new ColumnHeader("Column 3") { Width = 70 }); 1217listView.Columns.Add(new ColumnHeader("Column 1") { Width = 70 }); 1218listView.Columns.Add(new ColumnHeader("Column 2") { Width = 70 }); 1219listView.Columns.Add(new ColumnHeader("Column 3") { Width = 70 });
System\Windows\Forms\AccessibleObjects\ListViewLabelEditAccessibleObjectTests.cs (1)
161listView.Columns.Add(new ColumnHeader() { Text = "Column 1", Width = 100 });
System\Windows\Forms\ColumnHeaderTests.cs (11)
1288Width = value 1293header.Width = value; 1305header.Width = value; 1310header.Width = value; 1330header.Width = value; 1338header.Width = value; 1361header.Width = value; 1379header.Width = value; 1470Width = 10 1507Width = 10 1545Width = 10
System\Windows\Forms\ListViewItem.IKeyboardToolTipTests.cs (2)
146listView.Columns.Add(new ColumnHeader() { Width = 50 }); 166listView.Columns.Add(new ColumnHeader() { Width = columnWidth });
System\Windows\Forms\ListViewTests.cs (6)
5147listView.Columns.Add(new ColumnHeader() { Text = "Column 1", Width = 100 }); 5148listView.Columns.Add(new ColumnHeader() { Text = "Column 2", Width = 100 }); 5149listView.Columns.Add(new ColumnHeader() { Text = "Column 3", Width = 100 }); 5224listView.Columns.Add(new ColumnHeader() { Text = "Column 1", Width = 100 }); 5225listView.Columns.Add(new ColumnHeader() { Text = "Column 2", Width = 100 }); 5226listView.Columns.Add(new ColumnHeader() { Text = "Column 3", Width = 100 });
System.Windows.Forms.UI.IntegrationTests (3)
ListViewTests.cs (3)
517ColumnHeader columnHeader1 = new() { Text = "ColumnHeader1", Width = 140 }; 518ColumnHeader columnHeader2 = new() { Text = "ColumnHeader2", Width = 140 }; 519ColumnHeader columnHeader3 = new() { Text = "ColumnHeader3", Width = 140 };
41 references to Width
System.Windows.Forms (9)
System\Windows\Forms\Controls\ListView\ColumnHeader.cs (1)
43int width = Width;
System\Windows\Forms\Controls\ListView\ListView.ColumnHeaderCollection.cs (3)
316int w = _owner._columnHeaders[colIdx].Width; // Update width before detaching from ListView 331int w = _owner._columnHeaders[colIdx].Width; // Update width before detaching from ListView 502int w = columnHeader.Width; // Update width before detaching from ListView
System\Windows\Forms\Controls\ListView\ListView.cs (5)
2718subItemBounds.Width = _columnHeaders[0].Width; 3913lvColumn.cx = ch.Width; 5299int newWidth = columnHeader.Width + compensate; 6046_columnHeaderClickedWidth = _columnHeaderClicked.Width; 6096int w = _columnHeaders[nmheader->iItem].Width;
System.Windows.Forms.Tests (32)
System\Windows\Forms\ColumnHeaderCollectionTests.cs (10)
191Assert.Equal(width, header.Width); 213Assert.Equal(width, header.Width); 259Assert.Equal(width, header.Width); 282Assert.Equal(width, header.Width); 307Assert.Equal(width, header.Width); 735Assert.Equal(width, header.Width); 748Assert.Equal(width, header.Width); 776Assert.Equal(width, header.Width); 790Assert.Equal(width, header.Width); 806Assert.Equal(width, header.Width);
System\Windows\Forms\ColumnHeaderTests.cs (22)
32Assert.Equal(60, header.Width); 58Assert.Equal(60, header.Width); 82Assert.Equal(60, header.Width); 1223Assert.Equal(60, header.Width); 1240Assert.Equal(60, header.Width); 1264Assert.Equal(header.Width, header.Width); 1290Assert.Equal(value, header.Width); 1294Assert.Equal(value, header.Width); 1306Assert.Equal(value, header.Width); 1311Assert.Equal(value, header.Width); 1331Assert.Equal(value, header.Width); 1339Assert.Equal(value, header.Width); 1389Assert.Equal(60, header.Width); 1393Assert.Equal(60, header.Width); 1405Assert.Equal(60, header.Width); 1410Assert.Equal(60, header.Width); 1430Assert.Equal(60, header.Width); 1438Assert.Equal(60, header.Width); 1486Assert.Equal(10, header.Width); 1525Assert.Equal(10, header.Width); 1565Assert.Equal(10, header.Width);