15 references to MaxBandThickness
System.Windows.Forms (15)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (11)
319
if (preferredThickness > DataGridViewBand.
MaxBandThickness
)
321
preferredThickness = DataGridViewBand.
MaxBandThickness
;
410
if (preferredThickness > DataGridViewBand.
MaxBandThickness
)
412
preferredThickness = DataGridViewBand.
MaxBandThickness
;
1894
if (preferredColumnWidth > DataGridViewBand.
MaxBandThickness
)
1896
preferredColumnWidth = DataGridViewBand.
MaxBandThickness
;
2302
if (preferredThickness > DataGridViewBand.
MaxBandThickness
)
2304
preferredThickness = DataGridViewBand.
MaxBandThickness
;
2543
int overflowWidth = leftEdge - _mouseBarOffset - clip.Left - DataGridViewBand.
MaxBandThickness
+ 1;
2554
int overflowWidth = clip.Right + _mouseBarOffset - leftEdge - DataGridViewBand.
MaxBandThickness
;
6126
Debug.Assert(proposed <= DataGridViewBand.
MaxBandThickness
);
System\Windows\Forms\Controls\DataGridView\DataGridViewBand.cs (3)
177
ArgumentOutOfRangeException.ThrowIfGreaterThan(value,
MaxBandThickness
);
620
ArgumentOutOfRangeException.ThrowIfGreaterThan(value,
MaxBandThickness
);
668
Debug.Assert(value <=
MaxBandThickness
);
System\Windows\Forms\Controls\DataGridView\DataGridViewRowHeightInfoNeededEventArgs.cs (1)
30
ArgumentOutOfRangeException.ThrowIfGreaterThan(value, DataGridViewBand.
MaxBandThickness
);