21 writes to Header
System.Windows.Forms (1)
System\Windows\Forms\Controls\ListView\ListViewGroup.cs (1)
351
Header
= (string)entry.Value!;
System.Windows.Forms.Tests (17)
System\Windows\Forms\AccessibleObjects\ListViewGroup.ListViewGroupAccessibleObjectTests.cs (3)
708
Header
= "CollapsibleGroup1",
717
Header
= "CollapsibleGroup2",
742
Header
= "CollapsibleGroup",
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewItemAccessibleObjectTests.cs (2)
1936
Header
= "CollapsibleGroup1",
1942
Header
= "CollapsibleGroup2",
System\Windows\Forms\ListViewGroupTests.cs (11)
792
Header
= value
798
group.
Header
= value;
811
group.
Header
= value;
816
group.
Header
= value;
840
group.
Header
= value;
848
group.
Header
= value;
874
group.
Header
= value;
903
Header
= header,
923
Header
= header
947
Header
= header
1002
Header
= header
System\Windows\Forms\ListViewTests.cs (1)
1923
Header
= header,
WinFormsControlsTest (3)
ListViewTest.cs (3)
148
Header
= "CollapsibleGroup1",
161
Header
= "CollapsibleGroup2",
188
Header
= "TaskGroup",
31 references to Header
System.Windows.Forms (11)
System\Windows\Forms\Controls\ListView\ListView.cs (3)
4419
? string.Format(SR.ListViewGroupCollapsedStateName, listViewGroup.
Header
)
4420
: string.Format(SR.ListViewGroupExpandedStateName, listViewGroup.
Header
));
5684
string header = group.
Header
;
System\Windows\Forms\Controls\ListView\ListViewGroup.cs (4)
15
[DefaultProperty(nameof(
Header
))]
442
public override string ToString() =>
Header
;
456
info.AddValue(nameof(
Header
),
Header
);
System\Windows\Forms\Controls\ListView\ListViewGroup.ListViewGroupAccessibleObject.cs (2)
103
? $"{_owningGroup.
Header
}. {_owningGroup.Subtitle}"
104
: _owningGroup.
Header
;
System\Windows\Forms\Controls\ListView\ListViewGroupConverter.cs (2)
64
if (group.
Header
== text)
97
return new InstanceDescriptor(ctor, new object[] { group.
Header
, group.HeaderAlignment }, false);
System.Windows.Forms.Tests (20)
SerializableTypesTests.cs (1)
145
Assert.Equal("Header", result.
Header
);
System\Windows\Forms\ListViewGroupCollectionTests.cs (1)
511
Assert.Equal(expectedHeaderText, group.
Header
);
System\Windows\Forms\ListViewGroupTests.cs (18)
20
Assert.Equal("ListViewGroup", group.
Header
);
41
Assert.Equal(expectedHeader, group.
Header
);
71
Assert.Equal(expectedHeader, group.
Header
);
99
Assert.Equal(expectedHeader, group.
Header
);
795
Assert.Equal(expected, group.
Header
);
799
Assert.Equal(expected, group.
Header
);
812
Assert.Equal(expected, group.
Header
);
817
Assert.Equal(expected, group.
Header
);
841
Assert.Equal(expected, group.
Header
);
849
Assert.Equal(expected, group.
Header
);
908
Assert.Equal(expectedHeader, group.
Header
);
913
Assert.Equal(expectedHeader, group.
Header
);
930
Assert.Equal(expectedHeader, group.
Header
);
936
Assert.Equal(expectedHeader, group.
Header
);
961
Assert.Equal(expectedHeader, group.
Header
);
970
Assert.Equal(expectedHeader, group.
Header
);
1345
Assert.Equal(group.
Header
, result.
Header
);