1 interface inheriting from IBindingList
System (1)
compmod\system\componentmodel\IBindingListView.cs (1)
16
public interface IBindingListView :
IBindingList
{
4 implementations of IBindingList
System (1)
compmod\system\componentmodel\BindingList.cs (1)
25
public class BindingList<T> : Collection<T>,
IBindingList
, ICancelAddNew, IRaiseItemChangedEvents
System.Data (1)
fx\src\data\System\Data\DataViewManager.cs (1)
21
public class DataViewManager : MarshalByValueComponent,
IBindingList
, System.ComponentModel.ITypedList {
System.Data.DataSetExtensions (1)
System\Data\LinqDataView.cs (1)
24
internal class LinqDataView : DataView,
IBindingList
, IBindingListView
System.Data.Entity (1)
System\Data\Objects\ObjectView.cs (1)
40
internal class ObjectView<TElement> :
IBindingList
, ICancelAddNew, IObjectView
182 references to IBindingList
PresentationFramework (11)
src\Framework\MS\Internal\Data\ViewManager.cs (2)
567
IBindingList
ibl = il as
IBindingList
;
src\Framework\MS\Internal\SystemDataHelper.cs (1)
21
internal static bool IsDataView(
IBindingList
list)
src\Framework\System\Windows\Data\BindingListCollectionView.cs (4)
33
/// <seealso cref="ICollectionView"/> based on and associated to <seealso cref="
IBindingList
"/>
50
public BindingListCollectionView(
IBindingList
list)
2172
private
IBindingList
InternalList
2561
private
IBindingList
_internalList;
src\Framework\System\Windows\Data\CollectionView.cs (4)
112
IBindingList
ibl;
114
((ibl = collection as
IBindingList
) != null && !ibl.SupportsChangeNotification))
689
IBindingList
ibl;
691
((ibl = _sourceCollection as
IBindingList
) != null && !ibl.SupportsChangeNotification))
System (16)
compmod\system\componentmodel\BindingList.cs (16)
308
return (T)((this as
IBindingList
).AddNew());
311
object
IBindingList
.AddNew() {
383
/* private */ bool
IBindingList
.AllowNew {
404
/* private */ bool
IBindingList
.AllowEdit {
425
/* private */ bool
IBindingList
.AllowRemove {
431
bool
IBindingList
.SupportsChangeNotification {
443
bool
IBindingList
.SupportsSearching {
455
bool
IBindingList
.SupportsSorting {
467
bool
IBindingList
.IsSorted {
479
PropertyDescriptor
IBindingList
.SortProperty {
491
ListSortDirection
IBindingList
.SortDirection {
503
void
IBindingList
.ApplySort(PropertyDescriptor prop, ListSortDirection direction) {
511
void
IBindingList
.RemoveSort() {
519
int
IBindingList
.Find(PropertyDescriptor prop, object key) {
527
void
IBindingList
.AddIndex(PropertyDescriptor prop) {
531
void
IBindingList
.RemoveIndex(PropertyDescriptor prop) {
System.Data (32)
fx\src\data\System\Data\DataRelationPropertyDescriptor.cs (1)
44
return typeof(
IBindingList
);
fx\src\data\System\Data\DataTablePropertyDescriptor.cs (1)
42
return typeof(
IBindingList
);
fx\src\data\System\Data\DataView.cs (15)
986
bool
IBindingList
.AllowNew {
989
object
IBindingList
.AddNew() {
993
bool
IBindingList
.AllowEdit {
997
bool
IBindingList
.AllowRemove {
1001
bool
IBindingList
.SupportsChangeNotification {
1005
bool
IBindingList
.SupportsSearching {
1009
bool
IBindingList
.SupportsSorting {
1013
bool
IBindingList
.IsSorted {
1017
PropertyDescriptor
IBindingList
.SortProperty {
1030
ListSortDirection
IBindingList
.SortDirection {
1077
void
IBindingList
.AddIndex(PropertyDescriptor property) {
1081
void
IBindingList
.ApplySort(PropertyDescriptor property, ListSortDirection direction) {
1085
int
IBindingList
.Find(PropertyDescriptor property, object key) { // NOTE: this function had keepIndex previosely
1114
void
IBindingList
.RemoveIndex(PropertyDescriptor property) {
1119
void
IBindingList
.RemoveSort() {
fx\src\data\System\Data\DataViewManager.cs (15)
208
bool
IBindingList
.AllowNew {
213
object
IBindingList
.AddNew() {
217
bool
IBindingList
.AllowEdit {
223
bool
IBindingList
.AllowRemove {
229
bool
IBindingList
.SupportsChangeNotification {
235
bool
IBindingList
.SupportsSearching {
241
bool
IBindingList
.SupportsSorting {
247
bool
IBindingList
.IsSorted {
253
PropertyDescriptor
IBindingList
.SortProperty {
259
ListSortDirection
IBindingList
.SortDirection {
274
void
IBindingList
.AddIndex(PropertyDescriptor property) {
278
void
IBindingList
.ApplySort(PropertyDescriptor property, ListSortDirection direction) {
282
int
IBindingList
.Find(PropertyDescriptor property, object key) {
286
void
IBindingList
.RemoveIndex(PropertyDescriptor property) {
290
void
IBindingList
.RemoveSort() {
System.Data.DataSetExtensions (3)
System\Data\LinqDataView.cs (3)
254
void
IBindingList
.RemoveSort()
264
PropertyDescriptor
IBindingList
.SortProperty
294
bool
IBindingList
.IsSorted
System.Data.Entity (24)
System\Data\Objects\ObjectResult_TResultType.cs (1)
39
private
IBindingList
_cachedBindingList;
System\Data\Objects\ObjectView.cs (15)
156
bool
IBindingList
.AllowNew
161
bool
IBindingList
.AllowEdit
166
object
IBindingList
.AddNew()
189
bool
IBindingList
.AllowRemove
194
bool
IBindingList
.SupportsChangeNotification
199
bool
IBindingList
.SupportsSearching
204
bool
IBindingList
.SupportsSorting
209
bool
IBindingList
.IsSorted
214
PropertyDescriptor
IBindingList
.SortProperty
219
ListSortDirection
IBindingList
.SortDirection
236
void
IBindingList
.AddIndex(PropertyDescriptor property)
241
void
IBindingList
.ApplySort(PropertyDescriptor property, ListSortDirection direction)
246
int
IBindingList
.Find(PropertyDescriptor property, object key)
251
void
IBindingList
.RemoveIndex(PropertyDescriptor property)
256
void
IBindingList
.RemoveSort()
System\Data\Objects\ObjectViewFactory.cs (8)
73
/// <see cref="
IBindingList
"/> that is suitable for data binding.
76
internal static
IBindingList
CreateViewForQuery<TElement>(TypeUsage elementEdmTypeUsage, IEnumerable<TElement> queryResults, ObjectContext objectContext, bool forceReadOnly, EntitySet singleEntitySet)
94
IBindingList
objectView;
154
/// <see cref="
IBindingList
"/> that is suitable for data binding.
157
internal static
IBindingList
CreateViewForEntityCollection<TElement>(EntityType entityType, EntityCollection<TElement> entityCollection)
184
IBindingList
objectView;
231
private static
IBindingList
CreateObjectView(Type clrElementType, Type objectViewDataType, object viewData, object eventDataSource)
246
return (
IBindingList
)viewConstructor.Invoke(new object[] { viewData, eventDataSource });
System.Data.Linq (9)
DataBindingList.cs (2)
12
internal static
IBindingList
Create<T>(DataContext context, IEnumerable<T> sequence) {
18
return (
IBindingList
)Activator.CreateInstance(bindingType,
DataContext.cs (2)
1195
private
IBindingList
cachedList;
1205
public
IBindingList
GetNewBindingList() {
DataQuery.cs (2)
18
private
IBindingList
cachedList;
85
internal
IBindingList
GetNewBindingList() {
SqlClient\SqlProvider.cs (1)
1919
private
IBindingList
cachedList;
Types.cs (2)
647
private
IBindingList
cachedList = null;
658
public
IBindingList
GetNewBindingList() {
System.Windows.Forms (86)
winforms\Managed\System\WinForms\BindingNavigator.cs (2)
518
allowNew = (bindingSource as
IBindingList
).AllowNew;
519
allowRemove = (bindingSource as
IBindingList
).AllowRemove;
winforms\Managed\System\WinForms\BindingSource.cs (29)
162
return ((
IBindingList
)List).AllowNew;
337
IBindingList
ibl = List as
IBindingList
;
363
IBindingList
ibl = List as
IBindingList
;
804
return (this as
IBindingList
).Find(pd, key);
1167
if (!(this as
IBindingList
).AllowRemove) {
1322
this.isBindingList = (listInternal is
IBindingList
);
1455
if (_innerList is
IBindingList
) {
1456
IBindingList
list = _innerList as
IBindingList
;
1462
if (_innerList is
IBindingList
) {
1463
IBindingList
list = _innerList as
IBindingList
;
1803
addNewItem = (List as
IBindingList
).AddNew();
1838
return ((
IBindingList
) List).AllowEdit;
1883
return ((
IBindingList
) List).AllowRemove;
1902
return ((
IBindingList
) List).SupportsSearching;
1914
return ((
IBindingList
) List).SupportsSorting;
1926
return ((
IBindingList
) List).IsSorted;
1938
return ((
IBindingList
) List).SortProperty;
1950
return ((
IBindingList
) List).SortDirection;
1958
void
IBindingList
.AddIndex(PropertyDescriptor property) {
1960
((
IBindingList
) List).AddIndex(property);
1970
((
IBindingList
) List).ApplySort(property, sort);
1979
return ((
IBindingList
) List).Find(prop, key);
1986
void
IBindingList
.RemoveIndex(PropertyDescriptor prop) {
1988
((
IBindingList
) List).RemoveIndex(prop);
1999
((
IBindingList
) List).RemoveSort();
winforms\Managed\System\WinForms\CurrencyManager.cs (26)
103
if (list is
IBindingList
) {
104
return ((
IBindingList
)list).AllowNew;
118
if (list is
IBindingList
) {
119
return ((
IBindingList
)list).AllowEdit;
132
if (list is
IBindingList
) {
133
return ((
IBindingList
)list).AllowRemove;
301
IBindingList
ibl = list as
IBindingList
;
503
if (list is
IBindingList
&& ((
IBindingList
)list).SupportsSorting) {
504
((
IBindingList
)list).ApplySort(property, sortDirection);
512
if ((list is
IBindingList
) && ((
IBindingList
)list).SupportsSorting) {
513
return ((
IBindingList
)list).SortProperty;
522
if ((list is
IBindingList
) && ((
IBindingList
)list).SupportsSorting) {
523
return ((
IBindingList
)list).SortDirection;
535
if (property != null && (list is
IBindingList
) && ((
IBindingList
)list).SupportsSearching) {
536
return ((
IBindingList
)list).Find(property, key);
943
if ((list is
IBindingList
) && ((
IBindingList
)list).SupportsChangeNotification) {
944
((
IBindingList
)list).ListChanged -= new System.ComponentModel.ListChangedEventHandler(List_ListChanged);
1006
if ((list is
IBindingList
) && ((
IBindingList
)list).SupportsChangeNotification) {
1007
((
IBindingList
)list).ListChanged += new System.ComponentModel.ListChangedEventHandler(List_ListChanged);
winforms\Managed\System\WinForms\DataGrid.cs (6)
403
if (list is
IBindingList
)
404
((
IBindingList
) list).RemoveSort();
3208
if (list is
IBindingList
)
3209
((
IBindingList
) list).RemoveSort();
9499
IBindingList
bl = listManager == null ? null : listManager.List as
IBindingList
;
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (3)
1671
if ((this.DataManager.List is
IBindingList
) && ((
IBindingList
)this.DataManager.List).SupportsSearching)
1673
int index = ((
IBindingList
)this.DataManager.List).Find(property, key);
winforms\Managed\System\WinForms\DataGridViewDataConnection.cs (12)
97
return (this.currencyManager.List is
IBindingList
) && this.currencyManager.AllowAdd && ((
IBindingList
)this.currencyManager.List).SupportsChangeNotification;
128
return (this.currencyManager.List is
IBindingList
) && this.currencyManager.AllowRemove && ((
IBindingList
)this.currencyManager.List).SupportsChangeNotification;
400
IBindingList
ibl = this.currencyManager != null ? this.currencyManager.List as
IBindingList
: null;
822
IBindingList
ibl = this.currencyManager.List as
IBindingList
;
1061
IBindingList
ibl = this.currencyManager != null ? this.currencyManager.List as
IBindingList
: null;
1653
Debug.Assert(this.List is
IBindingList
, "you should have checked by now that we are bound to an IBindingList");
1654
((
IBindingList
)this.List).ApplySort(this.props[dataGridViewColumn.BoundColumnIndex], direction);
winforms\Managed\System\WinForms\DataGridViewMethods.cs (4)
14128
(this.dataConnection.List is
IBindingList
) &&
14129
((
IBindingList
) this.dataConnection.List).SupportsSorting &&
28212
IBindingList
ibl = this.dataConnection.List as
IBindingList
;
winforms\Managed\System\WinForms\DataGridViewRowCollection.cs (4)
939
IBindingList
list = this.DataGridView.DataConnection.List as
IBindingList
;
2308
IBindingList
list = this.DataGridView.DataConnection.List as
IBindingList
;
WindowsBase (1)
Base\MS\Internal\SystemDataExtensionMethods.cs (1)
19
internal abstract bool IsDataView(
IBindingList
list);