36 writes to Name
System.Windows.Forms (8)
System\Windows\Forms\Controls\ListView\ListView.ColumnHeaderCollection.cs (8)
216
Name
= key,
226
Name
= key,
237
Name
= key,
249
Name
= key,
452
Name
= key,
462
Name
= key,
473
Name
= key,
485
Name
= key,
System.Windows.Forms.Tests (28)
System\Windows\Forms\AccessibleObjects\ListVIew.ListViewAccessibleObjectTests.cs (3)
1402
listView.Columns.Add(new ColumnHeader() {
Name
= "Column 1" });
1403
listView.Columns.Add(new ColumnHeader() {
Name
= "Column 2" });
1404
listView.Columns.Add(new ColumnHeader() {
Name
= "Column 3" });
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewItemAccessibleObjectTests.cs (3)
1213
listView.Columns.Add(new ColumnHeader() {
Name
= "Column 1" });
1214
listView.Columns.Add(new ColumnHeader() {
Name
= "Column 2" });
1215
listView.Columns.Add(new ColumnHeader() {
Name
= "Column 3" });
System\Windows\Forms\ColumnHeaderCollectionTests.cs (4)
116
Name
= "text"
573
Name
= "text"
654
Name
= "text"
1078
Name
= "text"
System\Windows\Forms\ColumnHeaderTests.cs (17)
779
Name
= value
784
header.
Name
= value;
796
header.
Name
= value;
801
header.
Name
= value;
821
header.
Name
= value;
829
header.
Name
= value;
844
Name
= value
850
header.
Name
= value;
863
header.
Name
= null;
868
header.
Name
= string.Empty;
873
header.
Name
= "name";
890
header.
Name
= null;
895
header.
Name
= string.Empty;
900
header.
Name
= "name";
1465
Name
= "name",
1502
Name
= "name",
1540
Name
= "name",
System\Windows\Forms\ListViewTests.cs (1)
6194
listView.Columns.Add(new ColumnHeader() {
Name
= "Column 1" });
38 references to Name
System.Windows.Forms (3)
System\Windows\Forms\Controls\ListView\ColumnHeader.cs (1)
493
return !string.IsNullOrEmpty(
Name
);
System\Windows\Forms\Controls\ListView\ListView.ColumnHeaderCollection.cs (2)
141
if (WindowsFormsUtils.SafeCompareStrings(this[_lastAccessedIndex].
Name
, key, /* ignoreCase = */ true))
150
if (WindowsFormsUtils.SafeCompareStrings(this[i].
Name
, key, /* ignoreCase = */ true))
System.Windows.Forms.Tests (35)
System\Windows\Forms\ColumnHeaderCollectionTests.cs (8)
235
Assert.Equal(expectedName, header.
Name
);
257
Assert.Equal(expectedName, header.
Name
);
280
Assert.Equal(expectedName, header.
Name
);
305
Assert.Equal(expectedName, header.
Name
);
761
Assert.Equal(expectedName, header.
Name
);
774
Assert.Equal(expectedName, header.
Name
);
788
Assert.Equal(expectedName, header.
Name
);
804
Assert.Equal(expectedName, header.
Name
);
System\Windows\Forms\ColumnHeaderTests.cs (27)
27
Assert.Empty(header.
Name
);
53
Assert.Empty(header.
Name
);
77
Assert.Empty(header.
Name
);
770
Assert.Equal(expected, header.
Name
);
781
Assert.Equal(expected, header.
Name
);
785
Assert.Equal(expected, header.
Name
);
797
Assert.Equal(expected, header.
Name
);
802
Assert.Equal(expected, header.
Name
);
822
Assert.Equal(expected, header.
Name
);
830
Assert.Equal(expected, header.
Name
);
846
Assert.Equal(expected, header.
Name
);
851
Assert.Equal(expected, header.
Name
);
858
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(ColumnHeader))[nameof(ColumnHeader.
Name
)];
864
Assert.Empty(header.
Name
);
869
Assert.Empty(header.
Name
);
874
Assert.Equal("name", header.
Name
);
878
Assert.Equal("name", header.
Name
);
885
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(ColumnHeader))[nameof(ColumnHeader.
Name
)];
891
Assert.Empty(header.
Name
);
896
Assert.Empty(header.
Name
);
901
Assert.Equal("name", header.
Name
);
905
Assert.Equal("name", header.
Name
);
914
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(ColumnHeader))[nameof(ColumnHeader.
Name
)];
931
Assert.Equal(resultingName, header.
Name
);
1481
Assert.Empty(header.
Name
);
1520
Assert.Empty(header.
Name
);
1560
Assert.Empty(header.
Name
);