20 references to maxBandThickness
System.Windows.Forms (20)
winforms\Managed\System\WinForms\DataGridViewBand.cs (7)
259
if (value >
maxBandThickness
)
263
throw new ArgumentOutOfRangeException("DividerHeight", SR.GetString(SR.InvalidHighBoundArgumentEx, "DividerHeight", (value).ToString(CultureInfo.CurrentCulture), (
maxBandThickness
).ToString(CultureInfo.CurrentCulture)));
267
throw new ArgumentOutOfRangeException("DividerWidth", SR.GetString(SR.InvalidHighBoundArgumentEx, "DividerWidth", (value).ToString(CultureInfo.CurrentCulture), (
maxBandThickness
).ToString(CultureInfo.CurrentCulture)));
779
if (value >
maxBandThickness
)
783
throw new ArgumentOutOfRangeException("Height", SR.GetString(SR.InvalidHighBoundArgumentEx, "Height", (value).ToString(CultureInfo.CurrentCulture), (
maxBandThickness
).ToString(CultureInfo.CurrentCulture)));
787
throw new ArgumentOutOfRangeException("Width", SR.GetString(SR.InvalidHighBoundArgumentEx, "Width", (value).ToString(CultureInfo.CurrentCulture), (
maxBandThickness
).ToString(CultureInfo.CurrentCulture)));
842
Debug.Assert(value <=
maxBandThickness
);
winforms\Managed\System\WinForms\DataGridViewMethods.cs (11)
333
if (preferredThickness > DataGridViewBand.
maxBandThickness
)
335
preferredThickness = DataGridViewBand.
maxBandThickness
;
423
if (preferredThickness > DataGridViewBand.
maxBandThickness
)
425
preferredThickness = DataGridViewBand.
maxBandThickness
;
1891
if (preferredColumnWidth > DataGridViewBand.
maxBandThickness
)
1893
preferredColumnWidth = DataGridViewBand.
maxBandThickness
;
2323
if (preferredThickness > DataGridViewBand.
maxBandThickness
)
2325
preferredThickness = DataGridViewBand.
maxBandThickness
;
2569
int overflowWidth = leftEdge - this.mouseBarOffset - clip.Left - DataGridViewBand.
maxBandThickness
+ 1;
2580
int overflowWidth = clip.Right + this.mouseBarOffset - leftEdge - DataGridViewBand.
maxBandThickness
;
6163
Debug.Assert(proposed <= DataGridViewBand.
maxBandThickness
);
winforms\Managed\System\WinForms\DataGridViewRowHeightInfoNeededEventArgs.cs (2)
40
if (value > DataGridViewBand.
maxBandThickness
)
42
throw new ArgumentOutOfRangeException("Height", SR.GetString(SR.InvalidHighBoundArgumentEx, "Height", (value).ToString(CultureInfo.CurrentCulture), (DataGridViewBand.
maxBandThickness
).ToString(CultureInfo.CurrentCulture)));