10 writes to HeaderAlignment
System.Windows.Forms (1)
System\Windows\Forms\Controls\ListView\ListViewGroup.cs (1)
355HeaderAlignment = (HorizontalAlignment)entry.Value!;
System.Windows.Forms.Tests (9)
System\Windows\Forms\ListViewGroupTests.cs (8)
907HeaderAlignment = value 914group.HeaderAlignment = value; 931group.HeaderAlignment = value; 937group.HeaderAlignment = value; 962group.HeaderAlignment = value; 971group.HeaderAlignment = value; 1011group1.HeaderAlignment = value; 1035Assert.Throws<InvalidEnumArgumentException>("value", () => group.HeaderAlignment = value);
System\Windows\Forms\ListViewTests.cs (1)
1924HeaderAlignment = headerAlignment,
17 references to HeaderAlignment
System.Windows.Forms (4)
System\Windows\Forms\Controls\ListView\ListView.cs (1)
5725switch (group.HeaderAlignment)
System\Windows\Forms\Controls\ListView\ListViewGroup.cs (2)
457info.AddValue(nameof(HeaderAlignment), HeaderAlignment);
System\Windows\Forms\Controls\ListView\ListViewGroupConverter.cs (1)
97return new InstanceDescriptor(ctor, new object[] { group.Header, group.HeaderAlignment }, false);
System.Windows.Forms.Tests (13)
SerializableTypesTests.cs (1)
146Assert.Equal(HorizontalAlignment.Center, result.HeaderAlignment);
System\Windows\Forms\ListViewGroupTests.cs (12)
21Assert.Equal(HorizontalAlignment.Left, group.HeaderAlignment); 42Assert.Equal(HorizontalAlignment.Left, group.HeaderAlignment); 72Assert.Equal(headerAlignment, group.HeaderAlignment); 100Assert.Equal(HorizontalAlignment.Left, group.HeaderAlignment); 910Assert.Equal(value, group.HeaderAlignment); 915Assert.Equal(value, group.HeaderAlignment); 932Assert.Equal(value, group.HeaderAlignment); 938Assert.Equal(value, group.HeaderAlignment); 963Assert.Equal(value, group.HeaderAlignment); 972Assert.Equal(value, group.HeaderAlignment); 1349Assert.Equal(group.HeaderAlignment, result.HeaderAlignment);