1 write to dataGrid
System.Windows.Forms (1)
winforms\Managed\System\WinForms\DataGridParentRows.cs (1)
84this.dataGrid = dataGrid;
31 references to dataGrid
System.Windows.Forms (31)
winforms\Managed\System\WinForms\DataGridParentRows.cs (31)
236return dataGrid.ParentRowsVisible; 239dataGrid.ParentRowsVisible = value; 252CurrencyManager childDataSource = (CurrencyManager) dataGrid.BindingContext[dgs.DataSource, dgs.DataMember]; 271dataGrid.Caption.BackButtonVisible = (parentsCount > 0) && (dataGrid.AllowNavigation); 319if (dataGrid != null) 320dataGrid.InvalidateParentRows(); 325if (dataGrid != null) 328dataGrid.InvalidateParentRowsRect(r); 344textRegionHeight = (int)dataGrid.Font.Height + 2; 388if (dataGrid.ParentRowsLabelStyle == DataGridParentRowsLabelStyle.TableName || 389dataGrid.ParentRowsLabelStyle == DataGridParentRowsLabelStyle.Both) { 624object value = columns[colNum].GetColumnValueAtRow((CurrencyManager) dataGrid.BindingContext[dgs.DataSource, dgs.DataMember], 684if (dataGrid.ParentRowsLabelStyle == DataGridParentRowsLabelStyle.TableName || 685dataGrid.ParentRowsLabelStyle == DataGridParentRowsLabelStyle.Both) { 686tableNameBoxWidth = GetTableBoxWidth(g, dataGrid.Font); 692if (dataGrid.ParentRowsLabelStyle == DataGridParentRowsLabelStyle.ColumnName || 693dataGrid.ParentRowsLabelStyle == DataGridParentRowsLabelStyle.Both) { 694colsNameWidths[i] = GetColBoxWidth(g, dataGrid.Font, i); 721int paintedWidth = PaintRow(g, rowBounds, row, dataGrid.Font, alignToRight, tableNameBoxWidth, colsNameWidths, colsDataWidths); 873if ( dataGrid.ParentRowsLabelStyle == DataGridParentRowsLabelStyle.TableName || 874dataGrid.ParentRowsLabelStyle == DataGridParentRowsLabelStyle.Both) { 917if (dataGrid.ParentRowsLabelStyle == DataGridParentRowsLabelStyle.ColumnName || 918dataGrid.ParentRowsLabelStyle == DataGridParentRowsLabelStyle.Both) { 948cols[i].Paint(g, paintBounds, (CurrencyManager) dataGrid.BindingContext[dgs.DataSource, dgs.DataMember], 949dataGrid.BindingContext[dgs.DataSource, dgs.DataMember].Position, BackBrush, ForeBrush, alignToRight); 1068return owner.dataGrid.RectangleToScreen(owner.dataGrid.ParentRowsBounds); 1087return owner.dataGrid.AccessibilityObject; 1104if (owner.dataGrid.ParentRowsVisible) { 1124owner.dataGrid.NavigateBack();