15 references to MaxBandThickness
System.Windows.Forms (15)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (11)
364
if (preferredThickness > DataGridViewBand.
MaxBandThickness
)
366
preferredThickness = DataGridViewBand.
MaxBandThickness
;
455
if (preferredThickness > DataGridViewBand.
MaxBandThickness
)
457
preferredThickness = DataGridViewBand.
MaxBandThickness
;
1939
if (preferredColumnWidth > DataGridViewBand.
MaxBandThickness
)
1941
preferredColumnWidth = DataGridViewBand.
MaxBandThickness
;
2347
if (preferredThickness > DataGridViewBand.
MaxBandThickness
)
2349
preferredThickness = DataGridViewBand.
MaxBandThickness
;
2588
int overflowWidth = leftEdge - _mouseBarOffset - clip.Left - DataGridViewBand.
MaxBandThickness
+ 1;
2599
int overflowWidth = clip.Right + _mouseBarOffset - leftEdge - DataGridViewBand.
MaxBandThickness
;
6182
Debug.Assert(proposed <= DataGridViewBand.
MaxBandThickness
);
System\Windows\Forms\Controls\DataGridView\DataGridViewBand.cs (3)
169
ArgumentOutOfRangeException.ThrowIfGreaterThan(value,
MaxBandThickness
);
612
ArgumentOutOfRangeException.ThrowIfGreaterThan(value,
MaxBandThickness
);
660
Debug.Assert(value <=
MaxBandThickness
);
System\Windows\Forms\Controls\DataGridView\DataGridViewRowHeightInfoNeededEventArgs.cs (1)
30
ArgumentOutOfRangeException.ThrowIfGreaterThan(value, DataGridViewBand.
MaxBandThickness
);