BindingSource Methods

BindingSource Methods

 

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

NameDescription
System_CAPS_pubmethodAdd(Object)

Adds an existing item to the internal list.

System_CAPS_pubmethodAddNew()

Adds a new item to the underlying list.

System_CAPS_pubmethodApplySort(ListSortDescriptionCollection)

Sorts the data source with the specified sort descriptions.

System_CAPS_pubmethodApplySort(PropertyDescriptor, ListSortDirection)

Sorts the data source using the specified property descriptor and sort direction.

System_CAPS_pubmethodCancelEdit()

Cancels the current edit operation.

System_CAPS_pubmethodClear()

Removes all elements from the list.

System_CAPS_pubmethodContains(Object)

Determines whether an object is an item in the list.

System_CAPS_pubmethodCopyTo(Array, Int32)

Copies the contents of the List to the specified array, starting at the specified index value.

System_CAPS_pubmethodCreateObjRef(Type)

Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodDispose()

Releases all resources used by the Component.(Inherited from Component.)

System_CAPS_protmethodDispose(Boolean)

Releases the unmanaged resources used by the BindingSource and optionally releases the managed resources. (Overrides Component.Dispose(Boolean).)

System_CAPS_pubmethodEndEdit()

Applies pending changes to the underlying data source.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.(Inherited from Component.)

System_CAPS_pubmethodFind(PropertyDescriptor, Object)

Searches for the index of the item that has the given property descriptor.

System_CAPS_pubmethodFind(String, Object)

Returns the index of the item in the list with the specified property name and value.

System_CAPS_pubmethodGetEnumerator()

Retrieves an enumerator for the List.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetItemProperties(PropertyDescriptor[])

Retrieves an array of PropertyDescriptor objects representing the bindable properties of the data source list type.

System_CAPS_pubmethodGetLifetimeService()

Retrieves the current lifetime service object that controls the lifetime policy for this instance.(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodGetListName(PropertyDescriptor[])

Gets the name of the list supplying data for the binding.

System_CAPS_pubmethodGetRelatedCurrencyManager(String)

Gets the related currency manager for the specified data member.

System_CAPS_protmethodGetService(Type)

Returns an object that represents a service provided by the Component or by its Container.(Inherited from Component.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodIndexOf(Object)

Searches for the specified object and returns the index of the first occurrence within the entire list.

System_CAPS_pubmethodInitializeLifetimeService()

Obtains a lifetime service object to control the lifetime policy for this instance.(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodInsert(Int32, Object)

Inserts an item into the list at the specified index.

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone(Boolean)

Creates a shallow copy of the current MarshalByRefObject object.(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodMoveFirst()

Moves to the first item in the list.

System_CAPS_pubmethodMoveLast()

Moves to the last item in the list.

System_CAPS_pubmethodMoveNext()

Moves to the next item in the list.

System_CAPS_pubmethodMovePrevious()

Moves to the previous item in the list.

System_CAPS_protmethodOnAddingNew(AddingNewEventArgs)

Raises the AddingNew event.

System_CAPS_protmethodOnBindingComplete(BindingCompleteEventArgs)

Raises the BindingComplete event.

System_CAPS_protmethodOnCurrentChanged(EventArgs)

Raises the CurrentChanged event.

System_CAPS_protmethodOnCurrentItemChanged(EventArgs)

Raises the CurrentItemChanged event.

System_CAPS_protmethodOnDataError(BindingManagerDataErrorEventArgs)

Raises the DataError event.

System_CAPS_protmethodOnDataMemberChanged(EventArgs)

Raises the DataMemberChanged event.

System_CAPS_protmethodOnDataSourceChanged(EventArgs)

Raises the DataSourceChanged event.

System_CAPS_protmethodOnListChanged(ListChangedEventArgs)

Raises the ListChanged event.

System_CAPS_protmethodOnPositionChanged(EventArgs)

Raises the PositionChanged event.

System_CAPS_pubmethodRemove(Object)

Removes the specified item from the list.

System_CAPS_pubmethodRemoveAt(Int32)

Removes the item at the specified index in the list.

System_CAPS_pubmethodRemoveCurrent()

Removes the current item from the list.

System_CAPS_pubmethodRemoveFilter()

Removes the filter associated with the BindingSource.

System_CAPS_pubmethodRemoveSort()

Removes the sort associated with the BindingSource.

System_CAPS_pubmethodResetAllowNew()

This API supports the product infrastructure and is not intended to be used directly from your code. Reinitializes the AllowNew property.

System_CAPS_pubmethodResetBindings(Boolean)

Causes a control bound to the BindingSource to reread all the items in the list and refresh their displayed values.

System_CAPS_pubmethodResetCurrentItem()

Causes a control bound to the BindingSource to reread the currently selected item and refresh its displayed value.

System_CAPS_pubmethodResetItem(Int32)

Causes a control bound to the BindingSource to reread the item at the specified index, and refresh its displayed value.

System_CAPS_pubmethodResumeBinding()

Resumes data binding.

System_CAPS_pubmethodSuspendBinding()

Suspends data binding to prevent changes from updating the bound data source.

System_CAPS_pubmethodToString()

Returns a String containing the name of the Component, if any. This method should not be overridden.(Inherited from Component.)

NameDescription
System_CAPS_pubmethodAsParallel()

Overloaded. Enables parallelization of a query.(Defined by ParallelEnumerable.)

System_CAPS_pubmethodAsQueryable()

Overloaded. Converts an IEnumerable to an IQueryable.(Defined by Queryable.)

System_CAPS_pubmethodCast<TResult>()

Casts the elements of an IEnumerable to the specified type.(Defined by Enumerable.)

System_CAPS_pubmethodOfType<TResult>()

Filters the elements of an IEnumerable based on a specified type.(Defined by Enumerable.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIBindingList.AddIndex(PropertyDescriptor)

Adds the PropertyDescriptor to the indexes used for searching.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIBindingList.RemoveIndex(PropertyDescriptor)

Removes the System.ComponentModel.PropertyDescriptor from the indexes used for searching.

System_CAPS_pubinterfaceSystem_CAPS_privmethodICancelAddNew.CancelNew(Int32)

Discards a pending new item from the collection.

System_CAPS_pubinterfaceSystem_CAPS_privmethodICancelAddNew.EndNew(Int32)

Commits a pending new item to the collection.

System_CAPS_pubinterfaceSystem_CAPS_privmethodISupportInitialize.BeginInit()

Signals the BindingSource that initialization is starting.

System_CAPS_pubinterfaceSystem_CAPS_privmethodISupportInitialize.EndInit()

Signals the BindingSource that initialization is complete.

Return to top
Show:
© 2016 Microsoft