104 references to Displayed
System.Windows.Forms (104)
winforms\Managed\System\WinForms\DataGridViewBand.cs (5)
211
bool displayed = (this.State & DataGridViewElementStates.
Displayed
) != 0;
225
this.StateInternal = this.State | DataGridViewElementStates.
Displayed
;
229
this.StateInternal = this.State & ~DataGridViewElementStates.
Displayed
;
233
OnStateChanged(DataGridViewElementStates.
Displayed
);
910
dataGridViewBand.StateInternal = this.State & ~(DataGridViewElementStates.Selected | DataGridViewElementStates.
Displayed
);
winforms\Managed\System\WinForms\DataGridViewCell.cs (3)
226
Debug.Assert((this.State & DataGridViewElementStates.
Displayed
) == 0);
1121
DataGridViewElementStates andFlags = DataGridViewElementStates.
Displayed
| DataGridViewElementStates.Frozen | DataGridViewElementStates.Visible;
2114
state |= DataGridViewElementStates.
Displayed
;
winforms\Managed\System\WinForms\DataGridViewColumnCollection.cs (15)
526
if ((includeFilter & ~(DataGridViewElementStates.
Displayed
| DataGridViewElementStates.Frozen | DataGridViewElementStates.Resizable |
587
Debug.Assert((includeFilter & ~(DataGridViewElementStates.
Displayed
| DataGridViewElementStates.Frozen | DataGridViewElementStates.Resizable |
640
Debug.Assert((includeFilter & ~(DataGridViewElementStates.
Displayed
| DataGridViewElementStates.Frozen | DataGridViewElementStates.Resizable |
657
if ((includeFilter & ~(DataGridViewElementStates.
Displayed
| DataGridViewElementStates.Frozen | DataGridViewElementStates.Resizable |
705
if ((includeFilter & ~(DataGridViewElementStates.
Displayed
| DataGridViewElementStates.Frozen | DataGridViewElementStates.Resizable |
740
if ((includeFilter & ~(DataGridViewElementStates.
Displayed
| DataGridViewElementStates.Frozen | DataGridViewElementStates.Resizable |
745
if ((excludeFilter & ~(DataGridViewElementStates.
Displayed
| DataGridViewElementStates.Frozen | DataGridViewElementStates.Resizable |
777
if ((includeFilter & ~(DataGridViewElementStates.
Displayed
| DataGridViewElementStates.Frozen | DataGridViewElementStates.Resizable |
782
if ((excludeFilter & ~(DataGridViewElementStates.
Displayed
| DataGridViewElementStates.Frozen | DataGridViewElementStates.Resizable |
819
if ((includeFilter & ~(DataGridViewElementStates.
Displayed
| DataGridViewElementStates.Frozen | DataGridViewElementStates.Resizable |
824
if ((excludeFilter & ~(DataGridViewElementStates.
Displayed
| DataGridViewElementStates.Frozen | DataGridViewElementStates.Resizable |
891
if ((includeFilter & ~(DataGridViewElementStates.
Displayed
| DataGridViewElementStates.Frozen | DataGridViewElementStates.Resizable |
896
if ((excludeFilter & ~(DataGridViewElementStates.
Displayed
| DataGridViewElementStates.Frozen | DataGridViewElementStates.Resizable |
1007
Debug.Assert(includeFilter == DataGridViewElementStates.
Displayed
||
1036
Debug.Assert(includeFilter == DataGridViewElementStates.
Displayed
||
winforms\Managed\System\WinForms\DataGridViewHeaderCell.cs (3)
352
state |= DataGridViewElementStates.
Displayed
;
374
state |= DataGridViewElementStates.
Displayed
;
395
state |= DataGridViewElementStates.
Displayed
;
winforms\Managed\System\WinForms\DataGridViewMethods.cs (48)
2166
bool rowDisplayed = (rowState & DataGridViewElementStates.
Displayed
) != 0;
6459
if ((this.Rows.GetRowState(rowIndexTmp) & DataGridViewElementStates.
Displayed
) == 0)
6461
this.Rows.SetRowState(rowIndexTmp, DataGridViewElementStates.
Displayed
, true);
6472
while (rowIndexTmp != -1 && (this.Rows.GetRowState(rowIndexTmp) & DataGridViewElementStates.
Displayed
) != 0)
6474
this.Rows.SetRowState(rowIndexTmp, DataGridViewElementStates.
Displayed
, false);
6486
while (rowIndexTmp != -1 && (this.Rows.GetRowState(rowIndexTmp) & DataGridViewElementStates.
Displayed
) != 0)
6488
this.Rows.SetRowState(rowIndexTmp, DataGridViewElementStates.
Displayed
, false);
6498
if ((this.Rows.GetRowState(rowIndexTmp) & DataGridViewElementStates.
Displayed
) == 0)
6500
this.Rows.SetRowState(rowIndexTmp, DataGridViewElementStates.
Displayed
, true);
6507
while (rowIndexTmp != -1 && (this.Rows.GetRowState(rowIndexTmp) & DataGridViewElementStates.
Displayed
) != 0)
6509
this.Rows.SetRowState(rowIndexTmp, DataGridViewElementStates.
Displayed
, false);
6548
if ((this.Rows.GetRowState(rowIndexTmp) & DataGridViewElementStates.
Displayed
) == 0)
6554
this.Rows.SetRowState(rowIndexTmp, DataGridViewElementStates.
Displayed
, false);
6567
if ((this.Rows.GetRowState(rowIndexTmp) & DataGridViewElementStates.
Displayed
) == 0)
6573
this.Rows.SetRowState(rowIndexTmp, DataGridViewElementStates.
Displayed
, false);
6595
if ((this.Rows.GetRowState(rowIndexTmp) & DataGridViewElementStates.
Displayed
) != 0)
6597
this.Rows.SetRowState(rowIndexTmp, DataGridViewElementStates.
Displayed
, false);
6618
if ((this.Rows.GetRowState(rowIndexTmp) & DataGridViewElementStates.
Displayed
) != 0)
6620
this.Rows.SetRowState(rowIndexTmp, DataGridViewElementStates.
Displayed
, false);
6912
if ((includeFilter & ~(DataGridViewElementStates.
Displayed
| DataGridViewElementStates.Frozen | DataGridViewElementStates.Resizable |
6947
displayedRequired = (includeFilter & DataGridViewElementStates.
Displayed
) == DataGridViewElementStates.
Displayed
;
7010
displayedRequired = (includeFilter & DataGridViewElementStates.
Displayed
) == DataGridViewElementStates.
Displayed
;
7046
bool cellDisplayed = (rowState & DataGridViewElementStates.
Displayed
) != 0 &&
9119
if ((this.Rows.GetRowState(rowIndex) & DataGridViewElementStates.
Displayed
) == 0)
10803
bool rowDisplayed = (rowState & DataGridViewElementStates.
Displayed
) != 0;
11810
rowDisplayed = (this.Rows.GetRowState(rowIndex) & DataGridViewElementStates.
Displayed
) != 0;
13636
DataGridViewRowStateChangedEventArgs dgvrsce = new DataGridViewRowStateChangedEventArgs(dataGridViewRow, DataGridViewElementStates.
Displayed
);
13668
int rowIndex = this.Rows.GetFirstRow(DataGridViewElementStates.
Displayed
);
13675
rowIndex = this.Rows.GetNextRow(rowIndex, DataGridViewElementStates.
Displayed
);
14479
DataGridViewColumnStateChangedEventArgs dgvrsce = new DataGridViewColumnStateChangedEventArgs(dataGridViewColumn, DataGridViewElementStates.
Displayed
);
17421
DataGridViewRowStateChangedEventArgs dgvrsce = new DataGridViewRowStateChangedEventArgs(dataGridViewRow, DataGridViewElementStates.
Displayed
);
18272
bool rowDisplayed = (rowState & DataGridViewElementStates.
Displayed
) != 0;
18349
rowDisplayed = (this.Rows.GetRowState(rowIndex) & DataGridViewElementStates.
Displayed
) != 0;
19140
if (!rowVisible && (newState & DataGridViewElementStates.
Displayed
) != 0)
19143
this.Rows.SetRowState(rowIndex, DataGridViewElementStates.
Displayed
, false);
19149
bool rowDisplayed = (this.Rows.GetRowState(rowIndex) & DataGridViewElementStates.
Displayed
) != 0;
19698
if ((this.Rows.GetRowState(rowIndexTmp) & DataGridViewElementStates.
Displayed
) != 0)
19714
this.Rows.SetRowState(rowIndexTmp, DataGridViewElementStates.
Displayed
, true);
19731
if ((this.Rows.GetRowState(rowIndexTmp) & DataGridViewElementStates.
Displayed
) != 0)
19747
this.Rows.SetRowState(rowIndexTmp, DataGridViewElementStates.
Displayed
, true);
19770
int visibleRowsHeight = this.Rows.GetRowsHeight(DataGridViewElementStates.
Displayed
);
19791
int visibleColumnsWidth = this.Columns.GetColumnsWidth(DataGridViewElementStates.
Displayed
);
29162
if (((this.Rows.GetRowState(rowIndexTmp) & DataGridViewElementStates.
Displayed
) == 0) == displayed)
29164
this.Rows.SetRowState(rowIndexTmp, DataGridViewElementStates.
Displayed
, displayed);
29180
if (((this.Rows.GetRowState(rowIndexTmp) & DataGridViewElementStates.
Displayed
) == 0) == displayed)
29182
this.Rows.SetRowState(rowIndexTmp, DataGridViewElementStates.
Displayed
, displayed);
winforms\Managed\System\WinForms\DataGridViewRow.cs (1)
1330
return (GetState(rowIndex) & DataGridViewElementStates.
Displayed
) != 0;
winforms\Managed\System\WinForms\DataGridViewRowCollection.cs (29)
358
Debug.Assert((dataGridViewRow.State & (DataGridViewElementStates.Selected | DataGridViewElementStates.
Displayed
)) == 0);
401
Debug.Assert((rowState & (DataGridViewElementStates.Selected | DataGridViewElementStates.
Displayed
)) == 0);
518
Debug.Assert((rowTemplateState & (DataGridViewElementStates.Selected | DataGridViewElementStates.
Displayed
)) == 0);
604
Debug.Assert((dataGridViewRow.State & (DataGridViewElementStates.Selected | DataGridViewElementStates.
Displayed
)) == 0);
636
return AddCopyInternal(indexSource, DataGridViewElementStates.None, DataGridViewElementStates.Selected | DataGridViewElementStates.
Displayed
, false /*newRow*/);
716
return AddCopiesInternal(indexSource, count, DataGridViewElementStates.None, DataGridViewElementStates.Selected | DataGridViewElementStates.
Displayed
);
835
DataGridViewElementStates rowState = rowTemplate.State & ~(DataGridViewElementStates.Selected | DataGridViewElementStates.
Displayed
);
912
Debug.Assert((dataGridViewRow.State & (DataGridViewElementStates.Selected | DataGridViewElementStates.
Displayed
)) == 0);
1027
if ((includeFilter & ~(DataGridViewElementStates.
Displayed
| DataGridViewElementStates.Frozen | DataGridViewElementStates.Resizable |
1073
if ((includeFilter & ~(DataGridViewElementStates.
Displayed
| DataGridViewElementStates.Frozen | DataGridViewElementStates.Resizable |
1078
if ((excludeFilter & ~(DataGridViewElementStates.
Displayed
| DataGridViewElementStates.Frozen | DataGridViewElementStates.Resizable |
1119
if ((includeFilter & ~(DataGridViewElementStates.
Displayed
| DataGridViewElementStates.Frozen | DataGridViewElementStates.Resizable |
1175
if ((includeFilter & ~(DataGridViewElementStates.
Displayed
| DataGridViewElementStates.Frozen | DataGridViewElementStates.Resizable |
1202
if ((includeFilter & ~(DataGridViewElementStates.
Displayed
| DataGridViewElementStates.Frozen | DataGridViewElementStates.Resizable |
1207
if ((excludeFilter & ~(DataGridViewElementStates.
Displayed
| DataGridViewElementStates.Frozen | DataGridViewElementStates.Resizable |
1228
if ((includeFilter & ~(DataGridViewElementStates.
Displayed
| DataGridViewElementStates.Frozen | DataGridViewElementStates.Resizable |
1255
if ((includeFilter & ~(DataGridViewElementStates.
Displayed
| DataGridViewElementStates.Frozen | DataGridViewElementStates.Resizable |
1260
if ((excludeFilter & ~(DataGridViewElementStates.
Displayed
| DataGridViewElementStates.Frozen | DataGridViewElementStates.Resizable |
1281
if ((includeFilter & ~(DataGridViewElementStates.
Displayed
| DataGridViewElementStates.Frozen | DataGridViewElementStates.Resizable |
1357
if ((includeFilter & ~(DataGridViewElementStates.
Displayed
| DataGridViewElementStates.Frozen | DataGridViewElementStates.Resizable |
1561
Debug.Assert((rowTemplateState & (DataGridViewElementStates.Selected | DataGridViewElementStates.
Displayed
)) == 0);
1669
Debug.Assert((dataGridViewRow.State & (DataGridViewElementStates.Selected | DataGridViewElementStates.
Displayed
)) == 0);
1735
DataGridViewElementStates rowTemplateState = GetRowState(indexSource) & ~(DataGridViewElementStates.Selected | DataGridViewElementStates.
Displayed
);
1849
DataGridViewElementStates rowState = rowTemplate.State & ~(DataGridViewElementStates.Selected | DataGridViewElementStates.
Displayed
);
1943
Debug.Assert((dataGridViewRow.State & (DataGridViewElementStates.Selected | DataGridViewElementStates.
Displayed
)) == 0);
1965
Debug.Assert(includeFilter == DataGridViewElementStates.
Displayed
||
2000
Debug.Assert(includeFilter == DataGridViewElementStates.
Displayed
||
2398
Debug.Assert(state == DataGridViewElementStates.
Displayed
|| state == DataGridViewElementStates.Selected || state == DataGridViewElementStates.ReadOnly || state == DataGridViewElementStates.Resizable || state == DataGridViewElementStates.Frozen || state == DataGridViewElementStates.Visible);
2428
case DataGridViewElementStates.
Displayed
: