44 references to Refresh
System.Data.Common (14)
System\Data\BaseCollection.cs (1)
15
internal static readonly CollectionChangeEventArgs s_refreshEventArgs = new CollectionChangeEventArgs(CollectionChangeAction.
Refresh
, null);
System\Data\DataColumn.cs (2)
382
_table?.Columns.OnColumnPropertyChanged(new CollectionChangeEventArgs(CollectionChangeAction.
Refresh
, this));
389
_table?.Columns.OnColumnPropertyChanged(new CollectionChangeEventArgs(CollectionChangeAction.
Refresh
, this));
System\Data\DataColumnCollection.cs (1)
789
OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.
Refresh
, column));
System\Data\DataRelation.cs (4)
381
((DataRelationCollection.DataTableRelationCollection)(ParentTable.ChildRelations)).OnRelationPropertyChanged(new CollectionChangeEventArgs(CollectionChangeAction.
Refresh
, this));
382
((DataRelationCollection.DataTableRelationCollection)(ChildTable.ParentRelations)).OnRelationPropertyChanged(new CollectionChangeEventArgs(CollectionChangeAction.
Refresh
, this));
387
((DataRelationCollection.DataTableRelationCollection)(ParentTable.ChildRelations)).OnRelationPropertyChanged(new CollectionChangeEventArgs(CollectionChangeAction.
Refresh
, this));
388
((DataRelationCollection.DataTableRelationCollection)(ChildTable.ParentRelations)).OnRelationPropertyChanged(new CollectionChangeEventArgs(CollectionChangeAction.
Refresh
, this));
System\Data\DataView.cs (3)
1637
e.Action == CollectionChangeAction.
Refresh
? new ListChangedEventArgs(ListChangedType.PropertyDescriptorChanged, NullProp) :
1648
e.Action == CollectionChangeAction.
Refresh
? new ListChangedEventArgs(ListChangedType.PropertyDescriptorChanged, NullProp) :
1659
e.Action == CollectionChangeAction.
Refresh
? new ListChangedEventArgs(ListChangedType.PropertyDescriptorChanged, NullProp) :
System\Data\DataViewManager.cs (2)
335
e.Action == CollectionChangeAction.
Refresh
? new ListChangedEventArgs(ListChangedType.PropertyDescriptorChanged, NullProp) :
346
e.Action == CollectionChangeAction.
Refresh
? new ListChangedEventArgs(ListChangedType.PropertyDescriptorChanged, NullProp) :
System\Xml\XmlDataDocument.cs (1)
2210
if (args.Action == CollectionChangeAction.
Refresh
)
System.Windows.Forms (24)
System\Windows\Forms\AutoCompleteStringCollection.cs (2)
98
OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.
Refresh
, null));
108
OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.
Refresh
, null));
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (4)
13263
else if (ccea.Action == CollectionChangeAction.
Refresh
)
17536
&& cca == CollectionChangeAction.
Refresh
17544
if (cca == CollectionChangeAction.
Refresh
)
17549
if ((cca == CollectionChangeAction.
Refresh
|| cca == CollectionChangeAction.Add)
System\Windows\Forms\Controls\DataGridView\DataGridViewCellCollection.cs (2)
230
OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.
Refresh
, null));
246
OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.
Refresh
, null));
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnCollection.cs (2)
259
OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.
Refresh
, null), false /*changeIsInsertion*/, new Point(-1, -1));
307
OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.
Refresh
, null), false /*changeIsInsertion*/, new Point(-1, -1));
System\Windows\Forms\Controls\DataGridView\DataGridViewRowCollection.cs (10)
603
OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.
Refresh
, null), indexStart, count);
648
OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.
Refresh
, null), indexStart, count);
781
OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.
Refresh
, null), indexStart, dataGridViewRows.Length);
828
OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.
Refresh
, null), 0, rowCount, true, false, recreateNewRow, new Point(-1, -1));
1631
OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.
Refresh
, null), indexDestination, count, false, true, false, newCurrentCell);
1675
OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.
Refresh
, null), indexDestination, count, false, true, false, newCurrentCell);
1688
OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.
Refresh
, null), indexDestination, count, false, true, false, newCurrentCell);
1831
OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.
Refresh
, null), rowIndex, dataGridViewRows.Length, false, true, false, newCurrentCell);
2066
case CollectionChangeAction.
Refresh
:
2128
case CollectionChangeAction.
Refresh
:
System\Windows\Forms\DataBinding\BindingContext.cs (1)
145
OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.
Refresh
, null));
System\Windows\Forms\DataBinding\BindingManagerBase.cs (2)
312
case CollectionChangeAction.
Refresh
:
324
if (e.Action != CollectionChangeAction.
Refresh
)
System\Windows\Forms\DataBinding\BindingsCollection.cs (1)
74
CollectionChangeEventArgs eventArgs = new(CollectionChangeAction.
Refresh
, null);
System.Windows.Forms.Tests (6)
System\Windows\Forms\BindingsCollectionTests.cs (6)
181
Assert.Equal(CollectionChangeAction.
Refresh
, e.Action);
189
Assert.Equal(CollectionChangeAction.
Refresh
, e.Action);
241
Assert.Equal(CollectionChangeAction.
Refresh
, e.Action);
249
Assert.Equal(CollectionChangeAction.
Refresh
, e.Action);
504
CollectionChangeEventArgs eventArgs = new(CollectionChangeAction.
Refresh
, null);
528
CollectionChangeEventArgs eventArgs = new(CollectionChangeAction.
Refresh
, null);