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