11 writes to Name
System.Windows.Forms (2)
System\Windows\Forms\Controls\ListView\ListViewGroup.cs (2)
56
Name
= key;
375
Name
= (string)entry.Value!;
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\ListViewGroupCollectionEditor.cs (1)
30
group.
Name
= CreateListViewGroupName((ListViewGroupCollection)_editValue);
System.Windows.Forms.Tests (8)
SerializableTypesTests.cs (1)
129
Name
= "GroupName",
System\Windows\Forms\ListViewGroupCollectionTests.cs (4)
269
Name
= "text"
290
Name
= "text"
316
Name
= "text"
339
Name
= "text"
System\Windows\Forms\ListViewGroupTests.cs (3)
1177
Name
= value
1183
group.
Name
= value;
1319
yield return new object[] { new ListViewGroup("header", HorizontalAlignment.Center) {
Name
= "name", Tag = "tag" } };
16 references to Name
System.Windows.Forms (6)
System\Windows\Forms\Controls\ListView\ListViewGroup.cs (3)
461
if (!string.IsNullOrEmpty(
Name
))
463
info.AddValue(nameof(
Name
),
Name
);
System\Windows\Forms\Controls\ListView\ListViewGroupCollection.cs (2)
65
if (string.Equals(key, this[i].
Name
, StringComparison.CurrentCulture))
86
if (string.Equals(key, this[i].
Name
, StringComparison.CurrentCulture))
System\Windows\Forms\Controls\ListView\ListViewItem.cs (1)
1235
_groupName = group.
Name
;
System.Windows.Forms.Tests (10)
SerializableTypesTests.cs (1)
148
Assert.Equal("GroupName", result.
Name
);
System\Windows\Forms\ListViewGroupCollectionTests.cs (1)
510
Assert.Equal(key, group.
Name
);
System\Windows\Forms\ListViewGroupTests.cs (8)
26
Assert.Null(group.
Name
);
47
Assert.Null(group.
Name
);
77
Assert.Null(group.
Name
);
105
Assert.Equal(key, group.
Name
);
1180
Assert.Same(value, group.
Name
);
1184
Assert.Same(value, group.
Name
);
1348
Assert.Equal(group.
Name
, result.
Name
);