20 references to ColumnHeaderAutoResizeStyle
System.Windows.Forms (20)
winforms\Managed\System\WinForms\ColumnHeader.cs (5)
411
listview.SetColumnWidth(Index,
ColumnHeaderAutoResizeStyle
.None);
416
public void AutoResize(
ColumnHeaderAutoResizeStyle
headerAutoResize) {
418
if (headerAutoResize <
ColumnHeaderAutoResizeStyle
.None || headerAutoResize >
ColumnHeaderAutoResizeStyle
.ColumnContent) {
419
throw new InvalidEnumArgumentException("headerAutoResize", (int)headerAutoResize, typeof(
ColumnHeaderAutoResizeStyle
));
winforms\Managed\System\WinForms\ListView.cs (15)
2268
public void AutoResizeColumns(
ColumnHeaderAutoResizeStyle
headerAutoResize) {
2276
public void AutoResizeColumn(int columnIndex,
ColumnHeaderAutoResizeStyle
headerAutoResize) {
4344
UpdateColumnWidths(
ColumnHeaderAutoResizeStyle
.None);
4914
internal void SetColumnWidth(int columnIndex,
ColumnHeaderAutoResizeStyle
headerAutoResize) {
4922
if (!ClientUtils.IsEnumValid(headerAutoResize, (int)headerAutoResize, (int)
ColumnHeaderAutoResizeStyle
.None, (int)
ColumnHeaderAutoResizeStyle
.ColumnContent))
4924
throw new InvalidEnumArgumentException("headerAutoResize", (int)headerAutoResize, typeof(
ColumnHeaderAutoResizeStyle
));
4931
if (headerAutoResize ==
ColumnHeaderAutoResizeStyle
.None) {
4937
headerAutoResize =
ColumnHeaderAutoResizeStyle
.HeaderSize;
4939
headerAutoResize =
ColumnHeaderAutoResizeStyle
.ColumnContent;
4943
if (headerAutoResize ==
ColumnHeaderAutoResizeStyle
.HeaderSize) {
4946
} else if (headerAutoResize ==
ColumnHeaderAutoResizeStyle
.ColumnContent) {
4956
(headerAutoResize ==
ColumnHeaderAutoResizeStyle
.ColumnContent ||
4957
headerAutoResize ==
ColumnHeaderAutoResizeStyle
.HeaderSize)) {
5246
private void UpdateColumnWidths(
ColumnHeaderAutoResizeStyle
headerAutoResize) {