50 writes to Text
System.Windows.Forms (15)
System\Windows\Forms\Controls\ListView\ColumnHeader.cs (1)
476Text = null;
System\Windows\Forms\Controls\ListView\ListView.ColumnHeaderCollection.cs (14)
177Text = text, 195Text = text 206Text = text, 217Text = text 227Text = text, 238Text = text, 250Text = text, 420Text = text, 433Text = text 442Text = text, 453Text = text 463Text = text, 474Text = text, 486Text = text,
System.Windows.Forms.Design (3)
System\Windows\Forms\Design\MaskDesignerDialog.cs (3)
72_maskDescriptionHeader.Text = SR.MaskDesignerDialogMaskDescription; 77_dataFormatHeader.Text = SR.MaskDesignerDialogDataFormat; 82_validatingTypeHeader.Text = SR.MaskDesignerDialogValidatingType;
System.Windows.Forms.Tests (28)
System\Windows\Forms\AccessibleObjects\ColumnHeader.ListViewColumnHeaderAccessibleObjectTests.cs (1)
32using ColumnHeader columnHeader = new() { Text = testText };
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewItemDetailsAccessibleObjectTests.cs (3)
173columnHeader1.Text = "Col1"; 174columnHeader2.Text = "Col2"; 175columnHeader3.Text = "Col3";
System\Windows\Forms\AccessibleObjects\ListViewLabelEditAccessibleObjectTests.cs (1)
161listView.Columns.Add(new ColumnHeader() { Text = "Column 1", Width = 100 });
System\Windows\Forms\ColumnHeaderTests.cs (17)
956Text = value 961header.Text = value; 973header.Text = value; 977header.Text = value; 990header.Text = value; 994header.Text = value; 1007header.Text = value; 1059header.Text = null; 1064header.Text = string.Empty; 1069header.Text = "text"; 1086header.Text = null; 1091header.Text = string.Empty; 1096header.Text = "text"; 1468Text = "text", 1505Text = "text", 1543Text = "text", 1602Text = value
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 (4)
ListViewTests.cs (4)
517ColumnHeader columnHeader1 = new() { Text = "ColumnHeader1", Width = 140 }; 518ColumnHeader columnHeader2 = new() { Text = "ColumnHeader2", Width = 140 }; 519ColumnHeader columnHeader3 = new() { Text = "ColumnHeader3", Width = 140 }; 553listView.Columns.Add(new ColumnHeader() { Text = $"ColumnHeader{i}" });
45 references to Text
System.Windows.Forms (8)
System\Windows\Forms\Controls\ListView\ColumnHeader.cs (2)
13[DefaultProperty(nameof(Text))] 511return $"{nameof(ColumnHeader)}: Text: {Text}";
System\Windows\Forms\Controls\ListView\ColumnHeader.ListViewColumnHeaderAccessibleObject.cs (1)
20public override string? Name => _owningColumnHeader.Text;
System\Windows\Forms\Controls\ListView\DrawListViewColumnHeaderEventArgs.cs (1)
141string? text = Header?.Text;
System\Windows\Forms\Controls\ListView\ListView.cs (4)
2201Columns[lvhi.iItem].Text); 3813throw new ArgumentException(string.Format(SR.OnlyOneControl, ch.Text), nameof(ch)); 3915fixed (char* columnHeaderText = ch.Text) 5218fixed (char* columnHeaderText = ch.Text)
System.Windows.Forms.Tests (37)
System\Windows\Forms\ColumnHeaderCollectionTests.cs (14)
169Assert.Equal(expectedText, header.Text); 190Assert.Equal(expectedText, header.Text); 212Assert.Equal(expectedText, header.Text); 236Assert.Equal(expectedText, header.Text); 258Assert.Equal(expectedText, header.Text); 281Assert.Equal(expectedText, header.Text); 306Assert.Equal(expectedText, header.Text); 722Assert.Equal(expectedText, header.Text); 734Assert.Equal(expectedText, header.Text); 747Assert.Equal(expectedText, header.Text); 762Assert.Equal(expectedText, header.Text); 775Assert.Equal(expectedText, header.Text); 789Assert.Equal(expectedText, header.Text); 805Assert.Equal(expectedText, header.Text);
System\Windows\Forms\ColumnHeaderTests.cs (23)
30Assert.Equal("ColumnHeader", header.Text); 56Assert.Equal("ColumnHeader", header.Text); 80Assert.Equal("ColumnHeader", header.Text); 958Assert.Equal(expected, header.Text); 962Assert.Equal(expected, header.Text); 974Assert.Equal(expected, header.Text); 978Assert.Equal(expected, header.Text); 991Assert.Equal(expected, header.Text); 995Assert.Equal(expected, header.Text); 1054PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(ColumnHeader))[nameof(ColumnHeader.Text)]; 1060Assert.Empty(header.Text); 1065Assert.Empty(header.Text); 1070Assert.Equal("text", header.Text); 1074Assert.Empty(header.Text); 1081PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(ColumnHeader))[nameof(ColumnHeader.Text)]; 1087Assert.Empty(header.Text); 1092Assert.Empty(header.Text); 1097Assert.Equal("text", header.Text); 1101Assert.Empty(header.Text); 1484Assert.Equal("text", header.Text); 1523Assert.Equal("text", header.Text); 1563Assert.Equal("text", header.Text); 1604Assert.Equal($"ColumnHeader: Text: {header.Text}", header.ToString());