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