The members of System.Windows.Forms.BindingSource are listed below.
See Also: Inherited members from System.ComponentModel.Component
Initializes a new instance of the System.Windows.Forms.BindingSource class to the default property values. | ||
Initializes a new instance of the System.Windows.Forms.BindingSource class and adds the System.Windows.Forms.BindingSource to the specified container. | ||
Initializes a new instance of the System.Windows.Forms.BindingSource class with the specified data source and data member. |
[read-only] | AllowEdit | bool.
Gets a value indicating whether items in the underlying list can be edited. |
AllowNew | bool.
Gets or sets a value indicating whether the BindingSource.AddNew method can be used to add items to the list. | |
[read-only] | AllowRemove | bool.
Gets a value indicating whether items can be removed from the underlying list. |
[read-only] | Count | int.
Gets the total number of items in the underlying list, taking the current BindingSource.Filter value into consideration. |
[read-only] | CurrencyManager | CurrencyManager.
Gets the currency manager associated with this System.Windows.Forms.BindingSource. |
[read-only] | Current | object.
Gets the current item in the list. |
DataMember | string.
Gets or sets the specific list in the data source to which the connector currently binds to. | |
DataSource | object.
Gets or sets the data source that the connector binds to. | |
Filter | string.
Gets or sets the expression used to filter which rows are viewed. | |
[read-only] | IsBindingSuspended | bool.
Gets a value indicating whether the list binding is suspended. |
[read-only] | IsFixedSize | bool.
Gets a value indicating whether the underlying list has a fixed size. |
[read-only] | IsReadOnly | bool.
Gets a value indicating whether the underlying list is read-only. |
[read-only] | IsSorted | bool.
Gets a value indicating whether the items in the underlying list are sorted. |
[read-only] | IsSynchronized | bool.
Gets a value indicating whether access to the collection is synchronized (thread safe). |
default property | Item(int) | object. Documentation for this section has not yet been entered. |
[read-only] | List | IList.
Gets the list that the connector is bound to. |
Position | int.
Gets or sets the index of the current item in the underlying list. | |
RaiseListChangedEvents | bool.
Gets or sets a value indicating whether BindingSource.ListChanged events should be raised. | |
Sort | string.
Gets or sets the column names used for sorting, and the sort order for viewing the rows in the data source. | |
[read-only] | SortDescriptions | System.ComponentModel.ListSortDescriptionCollection.
Gets the collection of sort descriptions applied to the data source. |
[read-only] | SortDirection | System.ComponentModel.ListSortDirection.
Gets the direction the items in the list are sorted. |
[read-only] | SortProperty | System.ComponentModel.PropertyDescriptor.
Gets the System.ComponentModel.PropertyDescriptor that is being used for sorting the list. |
[read-only] | SupportsAdvancedSorting | bool.
Gets a value indicating whether the data source supports multi-column sorting. |
[read-only] | SupportsChangeNotification | bool.
Gets a value indicating whether the data source supports change notification. |
[read-only] | SupportsFiltering | bool.
Gets a value indicating whether the data source supports filtering. |
[read-only] | SupportsSearching | bool.
Gets a value indicating whether the data source supports searching with the BindingSource.Find(System.ComponentModel.PropertyDescriptor, object) method. |
[read-only] | SupportsSorting | bool.
Gets a value indicating whether the data source supports sorting. |
[read-only] | SyncRoot | object.
Gets an object that can be used to synchronize access to the underlying list. |
Add(object)
| ||
AddNew()
| ||
ApplySort(System.ComponentModel.ListSortDescriptionCollection)
| ||
ApplySort(System.ComponentModel.PropertyDescriptor, System.ComponentModel.ListSortDirection)
| ||
CancelEdit()
| ||
Clear()
| ||
Contains(object)
| ||
CopyTo(Array, int)
| ||
EndEdit()
| ||
Find(System.ComponentModel.PropertyDescriptor, object)
| ||
Find(string, object)
| ||
GetEnumerator()
| ||
GetItemProperties(System.ComponentModel.PropertyDescriptor[])
| ||
GetListName(System.ComponentModel.PropertyDescriptor[])
| ||
GetRelatedCurrencyManager(string)
| ||
IndexOf(object)
| ||
Insert(int, object)
| ||
MoveFirst()
| ||
MoveLast()
| ||
MoveNext()
| ||
MovePrevious()
| ||
Remove(object)
| ||
RemoveAt(int)
| ||
RemoveCurrent()
| ||
RemoveFilter()
| ||
RemoveSort()
| ||
ResetAllowNew()
| ||
ResetBindings(bool)
| ||
ResetCurrentItem()
| ||
ResetItem(int)
| ||
ResumeBinding()
| ||
SuspendBinding()
|
override | Dispose(bool)
| |
OnAddingNew(System.ComponentModel.AddingNewEventArgs)
| ||
OnBindingComplete(BindingCompleteEventArgs)
| ||
OnCurrentChanged(EventArgs)
| ||
OnCurrentItemChanged(EventArgs)
| ||
OnDataError(BindingManagerDataErrorEventArgs)
| ||
OnDataMemberChanged(EventArgs)
| ||
OnDataSourceChanged(EventArgs)
| ||
OnListChanged(System.ComponentModel.ListChangedEventArgs)
| ||
OnPositionChanged(EventArgs)
|
AddingNew |
Occurs before an item is added to the underlying list. | |
BindingComplete |
Occurs when all the clients have been bound to this System.Windows.Forms.BindingSource. | |
CurrentChanged |
Occurs when the currently bound item changes. | |
CurrentItemChanged |
Occurs when a property value of the BindingSource.Current property has changed. | |
DataError |
Occurs when a currency-related exception is silently handled by the System.Windows.Forms.BindingSource. | |
DataMemberChanged |
Occurs when the BindingSource.DataMember property value has changed. | |
DataSourceChanged |
Occurs when the BindingSource.DataSource property value has changed. | |
ListChanged |
Occurs when the underlying list changes or an item in the list changes. | |
PositionChanged |
Occurs after the value of the BindingSource.Position property has changed. |
System.ComponentModel.IBindingList.AddIndex |
Adds the System.ComponentModel.PropertyDescriptor to the indexes used for searching. | |
System.ComponentModel.ISupportInitialize.BeginInit |
Signals the System.Windows.Forms.BindingSource that initialization is starting. | |
System.ComponentModel.ICancelAddNew.CancelNew |
Discards a pending new item from the collection. | |
System.ComponentModel.ISupportInitialize.EndInit |
Signals the System.Windows.Forms.BindingSource that initialization is complete. | |
System.ComponentModel.ICancelAddNew.EndNew |
Commits a pending new item to the collection. | |
[read-only] | System.ComponentModel.ISupportInitializeNotification.IsInitialized | bool.
Gets a value indicating whether the System.Windows.Forms.BindingSource is initialized. |
System.ComponentModel.IBindingList.RemoveIndex |
Removes the System.ComponentModel.PropertyDescriptor from the indexes used for searching. |