56 references to Refresh
System.Data (14)
fx\src\data\System\Data\BaseCollection.cs (1)
20
internal static CollectionChangeEventArgs RefreshEventArgs = new CollectionChangeEventArgs(CollectionChangeAction.
Refresh
, null);
fx\src\data\System\Data\DataColumn.cs (2)
412
table.Columns.OnColumnPropertyChanged(new CollectionChangeEventArgs(CollectionChangeAction.
Refresh
, this));
420
table.Columns.OnColumnPropertyChanged(new CollectionChangeEventArgs(CollectionChangeAction.
Refresh
, this));
fx\src\data\System\Data\DataColumnCollection.cs (1)
709
OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.
Refresh
, column));
fx\src\data\System\Data\DataRelation.cs (4)
390
((DataRelationCollection.DataTableRelationCollection)(ParentTable.ChildRelations)).OnRelationPropertyChanged(new CollectionChangeEventArgs(CollectionChangeAction.
Refresh
, this));
391
((DataRelationCollection.DataTableRelationCollection)(ChildTable.ParentRelations)).OnRelationPropertyChanged(new CollectionChangeEventArgs(CollectionChangeAction.
Refresh
, this));
395
((DataRelationCollection.DataTableRelationCollection)(ParentTable.ChildRelations)).OnRelationPropertyChanged(new CollectionChangeEventArgs(CollectionChangeAction.
Refresh
, this));
396
((DataRelationCollection.DataTableRelationCollection)(ChildTable.ParentRelations)).OnRelationPropertyChanged(new CollectionChangeEventArgs(CollectionChangeAction.
Refresh
, this));
fx\src\data\System\Data\DataView.cs (3)
1637
e.Action == CollectionChangeAction.
Refresh
? new ListChangedEventArgs(ListChangedType.PropertyDescriptorChanged, NullProp):
1647
e.Action == CollectionChangeAction.
Refresh
? new ListChangedEventArgs(ListChangedType.PropertyDescriptorChanged, NullProp):
1657
e.Action == CollectionChangeAction.
Refresh
? new ListChangedEventArgs(ListChangedType.PropertyDescriptorChanged, NullProp):
fx\src\data\System\Data\DataViewManager.cs (2)
367
e.Action == CollectionChangeAction.
Refresh
? new ListChangedEventArgs(ListChangedType.PropertyDescriptorChanged, NullProp) :
377
e.Action == CollectionChangeAction.
Refresh
? new ListChangedEventArgs(ListChangedType.PropertyDescriptorChanged, NullProp):
fx\src\data\System\NewXml\XmlDataDocument.cs (1)
1990
if ( args.Action == CollectionChangeAction.
Refresh
) {
System.Data.Entity (9)
System\Data\Objects\DataClasses\EntityCollection.cs (3)
312
OnAssociationChanged(CollectionChangeAction.
Refresh
, null);
672
OnAssociationChanged(CollectionChangeAction.
Refresh
, null);
723
OnAssociationChanged(CollectionChangeAction.
Refresh
, null);
System\Data\Objects\DataClasses\EntityReference_TResultType.cs (1)
218
OnAssociationChanged(CollectionChangeAction.
Refresh
, null);
System\Data\Objects\DataClasses\RelatedEnd.cs (3)
897
OnAssociationChanged(CollectionChangeAction.
Refresh
, null);
1981
OnAssociationChanged(CollectionChangeAction.
Refresh
, null);
2044
this.OnAssociationChanged(CollectionChangeAction.
Refresh
, null);
System\Data\Objects\ObjectViewEntityCollectionData.cs (1)
226
case CollectionChangeAction.
Refresh
:
System\Data\Objects\ObjectViewQueryResultData.cs (1)
233
Debug.Assert(e.Action != CollectionChangeAction.
Refresh
, "Cache should never fire with refresh, it does not have clear");
System.Windows.Forms (33)
winforms\Managed\System\WinForms\AutoCompleteStringCollection.cs (2)
123
OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.
Refresh
, null));
133
OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.
Refresh
, null));
winforms\Managed\System\WinForms\BindingContext.cs (1)
195
OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.
Refresh
, null));
winforms\Managed\System\WinForms\BindingMAnagerBase.cs (2)
426
case CollectionChangeAction.
Refresh
:
435
if (e.Action == CollectionChangeAction.
Refresh
) {
winforms\Managed\System\WinForms\BindingsCollection.cs (1)
125
CollectionChangeEventArgs ccevent = new CollectionChangeEventArgs(CollectionChangeAction.
Refresh
, null);
winforms\Managed\System\WinForms\DataGrid.cs (2)
3296
Debug.Assert(ccea.Action == CollectionChangeAction.
Refresh
, "what else is possible?");
7107
if (e.Action != CollectionChangeAction.
Refresh
|| e.Element == null)
winforms\Managed\System\WinForms\DataGridColumnCollection.cs (3)
265
OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.
Refresh
, null));
269
OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.
Refresh
, (DataGridColumnStyle) sender));
353
OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.
Refresh
, null));
winforms\Managed\System\WinForms\DataGridTable.cs (1)
1683
Debug.Assert(e.Action == CollectionChangeAction.
Refresh
, "there are only Add, Remove and Refresh in the CollectionChangeAction");
winforms\Managed\System\WinForms\DataGridTableCollection.cs (3)
207
OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.
Refresh
, null));
223
OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.
Refresh
, null));
250
OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.
Refresh
, null));
winforms\Managed\System\WinForms\DataGridViewCellCollection.cs (2)
341
OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.
Refresh
, null));
359
OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.
Refresh
, null));
winforms\Managed\System\WinForms\DataGridViewColumnCollection.cs (2)
391
OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.
Refresh
, null), false /*changeIsInsertion*/, new Point(-1, -1));
437
OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.
Refresh
, null), false /*changeIsInsertion*/, new Point(-1, -1));
winforms\Managed\System\WinForms\DataGridViewMethods.cs (4)
13721
else if (ccea.Action == CollectionChangeAction.
Refresh
)
17967
cca == CollectionChangeAction.
Refresh
&&
17975
if (cca == CollectionChangeAction.
Refresh
)
17980
if ((cca == CollectionChangeAction.
Refresh
|| cca == CollectionChangeAction.Add) &&
winforms\Managed\System\WinForms\DataGridViewRowCollection.cs (10)
756
OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.
Refresh
, null), indexStart, count);
797
OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.
Refresh
, null), indexStart, count);
926
OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.
Refresh
, null), indexStart, dataGridViewRows.Length);
974
OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.
Refresh
, null), 0, rowCount, true, false, recreateNewRow, new Point(-1, -1));
1760
OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.
Refresh
, null), indexDestination, count, false, true, false, newCurrentCell);
1804
OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.
Refresh
, null), indexDestination, count, false, true, false, newCurrentCell);
1816
OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.
Refresh
, null), indexDestination, count, false, true, false, newCurrentCell);
1959
OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.
Refresh
, null), rowIndex, dataGridViewRows.Length, false, true, false, newCurrentCell);
2189
case CollectionChangeAction.
Refresh
:
2248
case CollectionChangeAction.
Refresh
: