3 writes to bandIndex
System.Windows.Forms (3)
winforms\Managed\System\WinForms\DataGridViewBand.cs (3)
49this.bandIndex = -1; 459this.bandIndex = value; 906dataGridViewBand.bandIndex = -1;
17 references to bandIndex
System.Windows.Forms (17)
winforms\Managed\System\WinForms\DataGridViewBand.cs (17)
451return this.bandIndex; 488if (this.bandIsRow && this.bandIndex > -1) 491GetHeightInfo(this.bandIndex, out height, out minimumHeight); 564if (this.bandIndex == -1) 569this.DataGridView.SetReadOnlyRowCore(this.bandIndex, value); 573Debug.Assert(this.bandIndex >= 0); 575this.DataGridView.SetReadOnlyColumnCore(this.bandIndex, value); 694if (this.bandIndex == -1) 700this.DataGridView.SetSelectedRowCoreInternal(this.bandIndex, value); 705Debug.Assert(this.bandIndex >= 0); 708this.DataGridView.SetSelectedColumnCoreInternal(this.bandIndex, value); 764if (this.bandIsRow && this.bandIndex > -1) 767GetHeightInfo(this.bandIndex, out height, out minimumHeight); 870this.DataGridView.NewRowIndex == this.bandIndex && 908if (!this.bandIsRow || this.bandIndex >= 0 || this.DataGridView == null) 983if (this.bandIndex != -1) 1004if (this.bandIndex != -1)