10 writes to HeaderAlignment
System.Windows.Forms (1)
System\Windows\Forms\Controls\ListView\ListViewGroup.cs (1)
355
HeaderAlignment
= (HorizontalAlignment)entry.Value!;
System.Windows.Forms.Tests (9)
System\Windows\Forms\ListViewGroupTests.cs (8)
904
HeaderAlignment
= value
911
group.
HeaderAlignment
= value;
928
group.
HeaderAlignment
= value;
934
group.
HeaderAlignment
= value;
959
group.
HeaderAlignment
= value;
968
group.
HeaderAlignment
= value;
1008
group1.
HeaderAlignment
= value;
1032
Assert.Throws<InvalidEnumArgumentException>("value", () => group.
HeaderAlignment
= value);
System\Windows\Forms\ListViewTests.cs (1)
1924
HeaderAlignment
= headerAlignment,
17 references to HeaderAlignment
System.Windows.Forms (4)
System\Windows\Forms\Controls\ListView\ListView.cs (1)
5721
switch (group.
HeaderAlignment
)
System\Windows\Forms\Controls\ListView\ListViewGroup.cs (2)
457
info.AddValue(nameof(
HeaderAlignment
),
HeaderAlignment
);
System\Windows\Forms\Controls\ListView\ListViewGroupConverter.cs (1)
97
return new InstanceDescriptor(ctor, new object[] { group.Header, group.
HeaderAlignment
}, false);
System.Windows.Forms.Tests (13)
SerializableTypesTests.cs (1)
146
Assert.Equal(HorizontalAlignment.Center, result.
HeaderAlignment
);
System\Windows\Forms\ListViewGroupTests.cs (12)
21
Assert.Equal(HorizontalAlignment.Left, group.
HeaderAlignment
);
42
Assert.Equal(HorizontalAlignment.Left, group.
HeaderAlignment
);
72
Assert.Equal(headerAlignment, group.
HeaderAlignment
);
100
Assert.Equal(HorizontalAlignment.Left, group.
HeaderAlignment
);
907
Assert.Equal(value, group.
HeaderAlignment
);
912
Assert.Equal(value, group.
HeaderAlignment
);
929
Assert.Equal(value, group.
HeaderAlignment
);
935
Assert.Equal(value, group.
HeaderAlignment
);
960
Assert.Equal(value, group.
HeaderAlignment
);
969
Assert.Equal(value, group.
HeaderAlignment
);
1346
Assert.Equal(group.
HeaderAlignment
, result.
HeaderAlignment
);