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)
904HeaderAlignment = value 911group.HeaderAlignment = value; 928group.HeaderAlignment = value; 934group.HeaderAlignment = value; 959group.HeaderAlignment = value; 968group.HeaderAlignment = value; 1008group1.HeaderAlignment = value; 1032Assert.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)
5721switch (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); 907Assert.Equal(value, group.HeaderAlignment); 912Assert.Equal(value, group.HeaderAlignment); 929Assert.Equal(value, group.HeaderAlignment); 935Assert.Equal(value, group.HeaderAlignment); 960Assert.Equal(value, group.HeaderAlignment); 969Assert.Equal(value, group.HeaderAlignment); 1346Assert.Equal(group.HeaderAlignment, result.HeaderAlignment);