2 types derived from DataGridViewBand
System.Windows.Forms (2)
System\Windows\Forms\Controls\DataGridView\DataGridViewColumn.cs (1)
17public class DataGridViewColumn : DataGridViewBand, IComponent
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.cs (1)
13public partial class DataGridViewRow : DataGridViewBand
29 references to DataGridViewBand
System.Windows.Forms (26)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (18)
320if (preferredThickness > DataGridViewBand.MaxBandThickness) 322preferredThickness = DataGridViewBand.MaxBandThickness; 411if (preferredThickness > DataGridViewBand.MaxBandThickness) 413preferredThickness = DataGridViewBand.MaxBandThickness; 1895if (preferredColumnWidth > DataGridViewBand.MaxBandThickness) 1897preferredColumnWidth = DataGridViewBand.MaxBandThickness; 2303if (preferredThickness > DataGridViewBand.MaxBandThickness) 2305preferredThickness = DataGridViewBand.MaxBandThickness; 2544int overflowWidth = leftEdge - _mouseBarOffset - clip.Left - DataGridViewBand.MaxBandThickness + 1; 2555int overflowWidth = clip.Right + _mouseBarOffset - leftEdge - DataGridViewBand.MaxBandThickness; 6129Debug.Assert(proposed <= DataGridViewBand.MaxBandThickness); 6428int maxDisplayedRows = rectScreen.Height / DataGridViewBand.MinBandThickness; 11354internal void OnBandContextMenuStripChanged(DataGridViewBand dataGridViewBand) 11368internal void OnBandDefaultCellStyleChanged(DataGridViewBand dataGridViewBand) 11382internal void OnBandDividerThicknessChanged(DataGridViewBand dataGridViewBand) 11396internal void OnBandHeaderCellChanged(DataGridViewBand dataGridViewBand) 11410internal void OnBandMinimumThicknessChanged(DataGridViewBand dataGridViewBand) 11424internal void OnBandThicknessChanged(DataGridViewBand dataGridViewBand)
System\Windows\Forms\Controls\DataGridView\DataGridViewBand.cs (4)
28/// Initializes a new instance of the <see cref="DataGridViewBand"/> class. 720DataGridViewBand band = (DataGridViewBand)Activator.CreateInstance(GetType())!; 725private protected void CloneInternal(DataGridViewBand dataGridViewBand)
System\Windows\Forms\Controls\DataGridView\DataGridViewElement.cs (1)
22if (GetType() == typeof(DataGridViewBand) || GetType() == typeof(DataGridViewColumn) ||
System\Windows\Forms\Controls\DataGridView\DataGridViewRowHeightInfoNeededEventArgs.cs (3)
30ArgumentOutOfRangeException.ThrowIfGreaterThan(value, DataGridViewBand.MaxBandThickness); 41if (value < DataGridViewBand.MinBandThickness) 43throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.DataGridViewBand_MinimumHeightSmallerThanOne, DataGridViewBand.MinBandThickness));
System.Windows.Forms.Tests (3)
System\Windows\Forms\DataGridViewElementTests.cs (3)
36type == typeof(DataGridViewBand) || type == typeof(DataGridViewCell) || 37type.IsSubclassOf(typeof(DataGridViewBand)) || type.IsSubclassOf(typeof(DataGridViewCell)))) 366Assert.True(type == typeof(DataGridViewBand) || type == typeof(DataGridViewColumn) ||