29 references to Element
System.Data (12)
fx\src\data\System\Data\DataColumnCollection.cs (1)
721
DataColumn column = (DataColumn)ccevent.
Element
;
fx\src\data\System\Data\DataView.cs (6)
1636
e.Action == CollectionChangeAction.Add ? new ListChangedEventArgs(ListChangedType.PropertyDescriptorAdded, new DataRelationPropertyDescriptor((System.Data.DataRelation)e.
Element
)) :
1638
e.Action == CollectionChangeAction.Remove ? new ListChangedEventArgs(ListChangedType.PropertyDescriptorDeleted, new DataRelationPropertyDescriptor((System.Data.DataRelation)e.
Element
)) :
1646
e.Action == CollectionChangeAction.Add ? new ListChangedEventArgs(ListChangedType.PropertyDescriptorAdded, new DataRelationPropertyDescriptor((System.Data.DataRelation)e.
Element
)) :
1648
e.Action == CollectionChangeAction.Remove ? new ListChangedEventArgs(ListChangedType.PropertyDescriptorDeleted, new DataRelationPropertyDescriptor((System.Data.DataRelation)e.
Element
)) :
1656
e.Action == CollectionChangeAction.Add ? new ListChangedEventArgs(ListChangedType.PropertyDescriptorAdded, new DataColumnPropertyDescriptor((System.Data.DataColumn)e.
Element
)) :
1658
e.Action == CollectionChangeAction.Remove ? new ListChangedEventArgs(ListChangedType.PropertyDescriptorDeleted, new DataColumnPropertyDescriptor((System.Data.DataColumn)e.
Element
)) :
fx\src\data\System\Data\DataViewManager.cs (4)
366
e.Action == CollectionChangeAction.Add ? new ListChangedEventArgs(ListChangedType.PropertyDescriptorAdded, new DataTablePropertyDescriptor((System.Data.DataTable)e.
Element
)) :
368
e.Action == CollectionChangeAction.Remove ? new ListChangedEventArgs(ListChangedType.PropertyDescriptorDeleted, new DataTablePropertyDescriptor((System.Data.DataTable)e.
Element
)) :
376
e.Action == CollectionChangeAction.Add ? new ListChangedEventArgs(ListChangedType.PropertyDescriptorAdded, new DataRelationPropertyDescriptor((System.Data.DataRelation)e.
Element
)) :
378
e.Action == CollectionChangeAction.Remove ? new ListChangedEventArgs(ListChangedType.PropertyDescriptorDeleted, new DataRelationPropertyDescriptor((System.Data.DataRelation)e.
Element
)) :
fx\src\data\System\NewXml\XmlDataDocument.cs (1)
1984
DataRelation rel = (DataRelation)(args.
Element
);
System.Data.Entity (7)
System\Data\Objects\ObjectViewEntityCollectionData.cs (4)
190
if (e.
Element
is TViewElement)
192
TViewElement removedItem = (TViewElement)e.
Element
;
209
if (e.
Element
is TViewElement)
214
TViewElement addedItem = (TViewElement)e.
Element
;
System\Data\Objects\ObjectViewQueryResultData.cs (3)
224
if (e.
Element
.GetType().IsAssignableFrom(typeof(TElement)) &&
225
_bindingList.Contains((TElement)(e.
Element
)))
227
TElement item = (TElement)e.
Element
;
System.Windows.Forms (10)
winforms\Managed\System\WinForms\BindingMAnagerBase.cs (1)
417
Binding b = e.
Element
as Binding;
winforms\Managed\System\WinForms\DataGrid.cs (3)
3281
DataGridTableStyle tableStyle = (DataGridTableStyle) ccea.
Element
;
3288
DataGridTableStyle tableStyle = (DataGridTableStyle) ccea.
Element
;
7107
if (e.Action != CollectionChangeAction.Refresh || e.
Element
== null)
winforms\Managed\System\WinForms\DataGridTable.cs (2)
1674
DataGridColumnStyle col = e.
Element
as DataGridColumnStyle;
1686
if (e.
Element
!= null)
winforms\Managed\System\WinForms\DataGridViewColumnCollection.cs (1)
1086
DataGridViewColumn dataGridViewColumn = (DataGridViewColumn)ccea.
Element
;
winforms\Managed\System\WinForms\DataGridViewMethods.cs (1)
13715
DataGridViewColumn dataGridViewColumn = (DataGridViewColumn)ccea.
Element
;
winforms\Managed\System\WinForms\DataGridViewRowCollection.cs (2)
2044
DataGridViewRow dataGridViewRow = (DataGridViewRow) e.
Element
;
2068
DataGridViewRow dataGridViewRow = (DataGridViewRow)e.
Element
;