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)
131
Name
= "GroupName",
System\Windows\Forms\ListViewGroupCollectionTests.cs (4)
271
Name
= "text"
292
Name
= "text"
318
Name
= "text"
341
Name
= "text"
System\Windows\Forms\ListViewGroupTests.cs (3)
1182
Name
= value
1188
group.
Name
= value;
1324
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)
150
Assert.Equal("GroupName", result.
Name
);
System\Windows\Forms\ListViewGroupCollectionTests.cs (1)
512
Assert.Equal(key, group.
Name
);
System\Windows\Forms\ListViewGroupTests.cs (8)
28
Assert.Null(group.
Name
);
49
Assert.Null(group.
Name
);
79
Assert.Null(group.
Name
);
107
Assert.Equal(key, group.
Name
);
1185
Assert.Same(value, group.
Name
);
1189
Assert.Same(value, group.
Name
);
1353
Assert.Equal(group.
Name
, result.
Name
);