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)
793
Header
= value
799
group.
Header
= value;
812
group.
Header
= value;
817
group.
Header
= value;
841
group.
Header
= value;
849
group.
Header
= value;
877
group.
Header
= value;
906
Header
= header,
926
Header
= header
950
Header
= header
1005
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)
4423
? string.Format(SR.ListViewGroupCollapsedStateName, listViewGroup.
Header
)
4424
: string.Format(SR.ListViewGroupExpandedStateName, listViewGroup.
Header
));
5688
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
);
796
Assert.Equal(expected, group.
Header
);
800
Assert.Equal(expected, group.
Header
);
813
Assert.Equal(expected, group.
Header
);
818
Assert.Equal(expected, group.
Header
);
842
Assert.Equal(expected, group.
Header
);
850
Assert.Equal(expected, group.
Header
);
911
Assert.Equal(expectedHeader, group.
Header
);
916
Assert.Equal(expectedHeader, group.
Header
);
933
Assert.Equal(expectedHeader, group.
Header
);
939
Assert.Equal(expectedHeader, group.
Header
);
964
Assert.Equal(expectedHeader, group.
Header
);
973
Assert.Equal(expectedHeader, group.
Header
);
1348
Assert.Equal(group.
Header
, result.
Header
);