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