2 types derived from DataGridViewBand
System.Windows.Forms (2)
winforms\Managed\System\WinForms\DataGridViewColumn.cs (1)
27public class DataGridViewColumn : DataGridViewBand, IComponent
winforms\Managed\System\WinForms\DataGridViewRow.cs (1)
25public class DataGridViewRow : DataGridViewBand
28 references to DataGridViewBand
System.Windows.Forms (28)
winforms\Managed\System\WinForms\DataGridViewBand.cs (6)
43/// Initializes a new instance of the <see cref='System.Windows.Forms.DataGridViewBand'/> class. 504throw new ArgumentOutOfRangeException("MinimumHeight", value, SR.GetString(SR.DataGridViewBand_MinimumHeightSmallerThanOne, (DataGridViewBand.minBandThickness).ToString(CultureInfo.CurrentCulture))); 508throw new ArgumentOutOfRangeException("MinimumWidth", value, SR.GetString(SR.DataGridViewBand_MinimumWidthSmallerThanOne, (DataGridViewBand.minBandThickness).ToString(CultureInfo.CurrentCulture))); 895DataGridViewBand dataGridViewBand = (DataGridViewBand) System.Activator.CreateInstance(this.GetType()); 903internal void CloneInternal(DataGridViewBand dataGridViewBand)
winforms\Managed\System\WinForms\DataGridViewMethods.cs (18)
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); 6448int maxDisplayedRows = (int) (rectScreen.Height / DataGridViewBand.minBandThickness); 11549internal void OnBandContextMenuStripChanged(DataGridViewBand dataGridViewBand) 11564internal void OnBandDefaultCellStyleChanged(DataGridViewBand dataGridViewBand) 11579internal void OnBandDividerThicknessChanged(DataGridViewBand dataGridViewBand) 11594internal void OnBandHeaderCellChanged(DataGridViewBand dataGridViewBand) 11609internal void OnBandMinimumThicknessChanged(DataGridViewBand dataGridViewBand) 11624internal void OnBandThicknessChanged(DataGridViewBand dataGridViewBand)
winforms\Managed\System\WinForms\DataGridViewRowHeightInfoNeededEventArgs.cs (4)
40if (value > DataGridViewBand.maxBandThickness) 42throw new ArgumentOutOfRangeException("Height", SR.GetString(SR.InvalidHighBoundArgumentEx, "Height", (value).ToString(CultureInfo.CurrentCulture), (DataGridViewBand.maxBandThickness).ToString(CultureInfo.CurrentCulture))); 57if (value < DataGridViewBand.minBandThickness) 59throw new ArgumentOutOfRangeException("MinimumHeight", value, SR.GetString(SR.DataGridViewBand_MinimumHeightSmallerThanOne, (DataGridViewBand.minBandThickness).ToString(CultureInfo.CurrentCulture)));