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