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