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)
907
HeaderAlignment
= value
914
group.
HeaderAlignment
= value;
931
group.
HeaderAlignment
= value;
937
group.
HeaderAlignment
= value;
962
group.
HeaderAlignment
= value;
971
group.
HeaderAlignment
= value;
1011
group1.
HeaderAlignment
= value;
1035
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
);
910
Assert.Equal(value, group.
HeaderAlignment
);
915
Assert.Equal(value, group.
HeaderAlignment
);
932
Assert.Equal(value, group.
HeaderAlignment
);
938
Assert.Equal(value, group.
HeaderAlignment
);
963
Assert.Equal(value, group.
HeaderAlignment
);
972
Assert.Equal(value, group.
HeaderAlignment
);
1349
Assert.Equal(group.
HeaderAlignment
, result.
HeaderAlignment
);