25 references to IsDataBound
System.Windows.Forms (25)
winforms\Managed\System\WinForms\DataGridViewCell.cs (4)
1856
this.OwningColumn.
IsDataBound
&&
2682
(!dataGridView.VirtualMode && this.OwningColumn != null && !this.OwningColumn.
IsDataBound
) ||
2688
else if (this.OwningColumn != null && this.OwningColumn.
IsDataBound
)
4619
if (dataGridView != null && this.OwningColumn != null && this.OwningColumn.
IsDataBound
)
winforms\Managed\System\WinForms\DataGridViewColumn.cs (1)
895
if (this.
IsDataBound
&&
winforms\Managed\System\WinForms\DataGridViewDataConnection.cs (4)
321
if (this.owner.Columns[i].
IsDataBound
)
338
if (!column.
IsDataBound
)
720
if (dataGridViewColumn.Visible && dataGridViewColumn.
IsDataBound
)
1652
Debug.Assert(dataGridViewColumn.
IsDataBound
&& dataGridViewColumn.BoundColumnIndex != -1, "we need a bound column index to perform the sort");
winforms\Managed\System\WinForms\DataGridViewMethods.cs (16)
1524
!dataGridViewCols[i].
IsDataBound
)
1529
if (dataGridViewCols[i].
IsDataBound
)
1545
if (dataGridViewCols[i].
IsDataBound
)
1605
Debug.Assert(finalClonedColumns[clonedColIndex].
IsDataBound
);
1629
Debug.Assert(finalClonedColumns[k].
IsDataBound
);
3334
return dataGridViewColumn.SortMode == DataGridViewColumnSortMode.Automatic && (!VirtualMode || dataGridViewColumn.
IsDataBound
);
3339
return dataGridViewColumn.SortMode != DataGridViewColumnSortMode.NotSortable && (!VirtualMode || dataGridViewColumn.
IsDataBound
);
3639
if (this.Columns[columnIndex].
IsDataBound
&&
13794
if (e.Column.
IsDataBound
)
14130
dataGridViewColumn.
IsDataBound
))
17585
if (dataGridViewColumn.
IsDataBound
)
17599
Debug.Assert(this.Columns[i].
IsDataBound
, "two columns w/ the same DataPropertyName should be DataBound at the same time");
19501
if (dataGridViewColumn.
IsDataBound
)
19515
Debug.Assert(this.Columns[i].
IsDataBound
, "two columns w/ the same DataPropertyName should be DataBound at the same time");
28180
if (this.VirtualMode && !dataGridViewColumn.
IsDataBound
)
28223
if (!dataGridViewColumn.
IsDataBound
)