16 references to Header
System.Windows.Forms (5)
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnHeaderCell.cs (1)
14private static readonly VisualStyleElement s_headerElement = VisualStyleElement.Header.Item.Normal;
System\Windows\Forms\Controls\DataGridView\DataGridViewHeaderCell.DataGridViewHeaderCellRenderer.cs (1)
18s_visualStyleRenderer ??= new VisualStyleRenderer(VisualStyleElement.Header.Item.Normal);
System\Windows\Forms\Controls\DataGridView\DataGridViewRowHeaderCell.cs (1)
14private static readonly VisualStyleElement s_headerElement = VisualStyleElement.Header.Item.Normal;
System\Windows\Forms\Controls\DataGridView\DataGridViewTopLeftHeaderCell.cs (1)
11private static readonly VisualStyleElement s_headerElement = VisualStyleElement.Header.Item.Normal;
System\Windows\Forms\Controls\ListView\DrawListViewColumnHeaderEventArgs.cs (1)
90VisualStyleRenderer vsr = new(VisualStyleElement.Header.Item.Normal);
System.Windows.Forms.Tests (11)
System\Windows\Forms\VisualStyles\VisualStyleElementTests.cs (11)
255yield return new object[] { I(() => VisualStyleElement.Header.Item.Normal), "HEADER", 1, 1 }; 256yield return new object[] { I(() => VisualStyleElement.Header.Item.Hot), "HEADER", 1, 2 }; 257yield return new object[] { I(() => VisualStyleElement.Header.Item.Pressed), "HEADER", 1, 3 }; 259yield return new object[] { I(() => VisualStyleElement.Header.ItemLeft.Normal), "HEADER", 2, 1 }; 260yield return new object[] { I(() => VisualStyleElement.Header.ItemLeft.Hot), "HEADER", 2, 2 }; 261yield return new object[] { I(() => VisualStyleElement.Header.ItemLeft.Pressed), "HEADER", 2, 3 }; 263yield return new object[] { I(() => VisualStyleElement.Header.ItemRight.Normal), "HEADER", 3, 1 }; 264yield return new object[] { I(() => VisualStyleElement.Header.ItemRight.Hot), "HEADER", 3, 2 }; 265yield return new object[] { I(() => VisualStyleElement.Header.ItemRight.Pressed), "HEADER", 3, 3 }; 267yield return new object[] { I(() => VisualStyleElement.Header.SortArrow.SortedUp), "HEADER", 4, 1 }; 268yield return new object[] { I(() => VisualStyleElement.Header.SortArrow.SortedDown), "HEADER", 4, 2 };