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