61 references to DefaultColumnHeadersHeight
System.Windows.Forms.Tests (61)
System\Windows\Forms\DataGridViewTests.cs (61)
47
yield return new object[] { DataGridViewColumnHeadersHeightSizeMode.AutoSize, columnHeadersVisible, autoSize, 4,
DefaultColumnHeadersHeight
};
48
yield return new object[] { DataGridViewColumnHeadersHeightSizeMode.AutoSize, columnHeadersVisible, autoSize,
DefaultColumnHeadersHeight
,
DefaultColumnHeadersHeight
};
49
yield return new object[] { DataGridViewColumnHeadersHeightSizeMode.AutoSize, columnHeadersVisible, autoSize, 32768,
DefaultColumnHeadersHeight
};
54
yield return new object[] { columnHeadersWidthSizeMode, columnHeadersVisible, autoSize,
DefaultColumnHeadersHeight
,
DefaultColumnHeadersHeight
};
90
yield return new object[] { DataGridViewColumnHeadersHeightSizeMode.AutoSize, columnHeadersVisible, true, 4,
DefaultColumnHeadersHeight
, 0, 0 };
91
yield return new object[] { DataGridViewColumnHeadersHeightSizeMode.AutoSize, columnHeadersVisible, true,
DefaultColumnHeadersHeight
,
DefaultColumnHeadersHeight
, 0, 0 };
92
yield return new object[] { DataGridViewColumnHeadersHeightSizeMode.AutoSize, columnHeadersVisible, true, 32768,
DefaultColumnHeadersHeight
, 0, 0 };
93
yield return new object[] { DataGridViewColumnHeadersHeightSizeMode.AutoSize, columnHeadersVisible, false, 4,
DefaultColumnHeadersHeight
, 0, 0 };
94
yield return new object[] { DataGridViewColumnHeadersHeightSizeMode.AutoSize, columnHeadersVisible, false,
DefaultColumnHeadersHeight
,
DefaultColumnHeadersHeight
, 0, 0 };
95
yield return new object[] { DataGridViewColumnHeadersHeightSizeMode.AutoSize, columnHeadersVisible, false, 32768,
DefaultColumnHeadersHeight
, 0, 0 };
100
yield return new object[] { columnHeadersWidthSizeMode, columnHeadersVisible, true,
DefaultColumnHeadersHeight
,
DefaultColumnHeadersHeight
, 0, 0 };
103
yield return new object[] { columnHeadersWidthSizeMode, columnHeadersVisible, false,
DefaultColumnHeadersHeight
,
DefaultColumnHeadersHeight
, 0, 0 };
158
yield return new object[] { DataGridViewColumnHeadersHeightSizeMode.AutoSize, true, true,
DefaultColumnHeadersHeight
, 18 };
161
yield return new object[] { DataGridViewColumnHeadersHeightSizeMode.AutoSize, true, false,
DefaultColumnHeadersHeight
, 18 };
163
yield return new object[] { DataGridViewColumnHeadersHeightSizeMode.AutoSize, false, true, 4,
DefaultColumnHeadersHeight
};
164
yield return new object[] { DataGridViewColumnHeadersHeightSizeMode.AutoSize, false, true,
DefaultColumnHeadersHeight
,
DefaultColumnHeadersHeight
};
165
yield return new object[] { DataGridViewColumnHeadersHeightSizeMode.AutoSize, false, true, 32768,
DefaultColumnHeadersHeight
};
166
yield return new object[] { DataGridViewColumnHeadersHeightSizeMode.AutoSize, false, false, 4,
DefaultColumnHeadersHeight
};
167
yield return new object[] { DataGridViewColumnHeadersHeightSizeMode.AutoSize, false, false,
DefaultColumnHeadersHeight
,
DefaultColumnHeadersHeight
};
168
yield return new object[] { DataGridViewColumnHeadersHeightSizeMode.AutoSize, false, false, 32768,
DefaultColumnHeadersHeight
};
176
yield return new object[] { columnHeadersWidthSizeMode, columnHeadersVisible, true,
DefaultColumnHeadersHeight
,
DefaultColumnHeadersHeight
};
177
yield return new object[] { columnHeadersWidthSizeMode, columnHeadersVisible, false,
DefaultColumnHeadersHeight
,
DefaultColumnHeadersHeight
};
223
yield return new object[] { DataGridViewColumnHeadersHeightSizeMode.AutoSize, true, true,
DefaultColumnHeadersHeight
, 18, 0, 0 };
226
yield return new object[] { DataGridViewColumnHeadersHeightSizeMode.AutoSize, true, false,
DefaultColumnHeadersHeight
, 18, 0, 0 };
228
yield return new object[] { DataGridViewColumnHeadersHeightSizeMode.AutoSize, false, true, 4,
DefaultColumnHeadersHeight
, 0, 0 };
229
yield return new object[] { DataGridViewColumnHeadersHeightSizeMode.AutoSize, false, true,
DefaultColumnHeadersHeight
,
DefaultColumnHeadersHeight
, 0, 0 };
230
yield return new object[] { DataGridViewColumnHeadersHeightSizeMode.AutoSize, false, true, 32768,
DefaultColumnHeadersHeight
, 0, 0 };
231
yield return new object[] { DataGridViewColumnHeadersHeightSizeMode.AutoSize, false, false, 4,
DefaultColumnHeadersHeight
, 0, 0 };
232
yield return new object[] { DataGridViewColumnHeadersHeightSizeMode.AutoSize, false, false,
DefaultColumnHeadersHeight
,
DefaultColumnHeadersHeight
, 0, 0 };
233
yield return new object[] { DataGridViewColumnHeadersHeightSizeMode.AutoSize, false, false, 32768,
DefaultColumnHeadersHeight
, 0, 0 };
240
yield return new object[] { columnHeadersWidthSizeMode, columnHeadersVisible, true,
DefaultColumnHeadersHeight
,
DefaultColumnHeadersHeight
, 0, 0 };
243
yield return new object[] { columnHeadersWidthSizeMode, columnHeadersVisible, false,
DefaultColumnHeadersHeight
,
DefaultColumnHeadersHeight
, 0, 0 };
515
Assert.Equal(
DefaultColumnHeadersHeight
, control.ColumnHeadersHeight);
521
Assert.Equal(
DefaultColumnHeadersHeight
, control.ColumnHeadersHeight);
530
{ true, DataGridViewColumnHeadersHeightSizeMode.DisableResizing,
DefaultColumnHeadersHeight
},
531
{ true, DataGridViewColumnHeadersHeightSizeMode.EnableResizing,
DefaultColumnHeadersHeight
},
532
{ false, DataGridViewColumnHeadersHeightSizeMode.AutoSize,
DefaultColumnHeadersHeight
},
533
{ false, DataGridViewColumnHeadersHeightSizeMode.DisableResizing,
DefaultColumnHeadersHeight
},
534
{ false, DataGridViewColumnHeadersHeightSizeMode.EnableResizing,
DefaultColumnHeadersHeight
},
2129
Assert.Equal(
DefaultColumnHeadersHeight
, control.ColumnHeadersHeight);
2136
Assert.Equal(
DefaultColumnHeadersHeight
, control.ColumnHeadersHeight);
2144
yield return new object[] { DataGridViewColumnHeadersHeightSizeMode.DisableResizing, new DataGridViewAutoSizeModeEventArgs(false),
DefaultColumnHeadersHeight
};
2145
yield return new object[] { DataGridViewColumnHeadersHeightSizeMode.EnableResizing, new DataGridViewAutoSizeModeEventArgs(false),
DefaultColumnHeadersHeight
};
2219
Assert.Equal(
DefaultColumnHeadersHeight
, control.ColumnHeadersHeight);
2226
Assert.Equal(
DefaultColumnHeadersHeight
, control.ColumnHeadersHeight);
2293
Assert.Equal(
DefaultColumnHeadersHeight
, control.ColumnHeadersHeight);
2300
Assert.Equal(
DefaultColumnHeadersHeight
, control.ColumnHeadersHeight);