This documentation is archived and is not being maintained.

BindingSource Methods

The BindingSource type exposes the following members.

  NameDescription
Public method Supported by the .NET Compact Framework Add Adds an existing item to the internal list.
Public method Supported by the .NET Compact Framework AddNew Adds a new item to the underlying list.
Public method Supported by the .NET Compact Framework ApplySort Overloaded. Sorts the data source with the specified sort description or descriptions.
Public method Supported by the .NET Compact Framework CancelEdit Cancels the current edit operation.
Public method Supported by the .NET Compact Framework Clear Removes all elements from the list.
Public method Supported by the .NET Compact Framework Contains Determines whether an object is an item in the list.
Public method Supported by the .NET Compact Framework CopyTo Copies the contents of the List to the specified array, starting at the specified index value.
Public method CreateObjRef Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)
Public method Supported by the .NET Compact Framework Dispose Overloaded.
Public method Supported by the .NET Compact Framework EndEdit Applies pending changes to the underlying data source.
Public method Supported by the .NET Compact Framework Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Supported by the .NET Compact Framework Finalize Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection. (Inherited from Component.)
Public method Supported by the .NET Compact Framework Find Overloaded. Find the specified item in the data source.
Public method Supported by the .NET Compact Framework GetEnumerator Retrieves an enumerator for the List.
Public method Supported by the .NET Compact Framework GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method Supported by the .NET Compact Framework GetItemProperties Retrieves an array of PropertyDescriptor objects representing the bindable properties of the data source list type.
Public method GetLifetimeService Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method Supported by the .NET Compact Framework GetListName Gets the name of the list supplying data for the binding.
Public method Supported by the .NET Compact Framework GetRelatedCurrencyManager Gets the related currency manager for the specified data member.
Protected method GetService Returns an object that represents a service provided by the Component or by its Container. (Inherited from Component.)
Public method Supported by the .NET Compact Framework GetType Gets the type of the current instance. (Inherited from Object.)
Public method Supported by the .NET Compact Framework IndexOf Searches for the specified object and returns the index of the first occurrence within the entire list.
Public method InitializeLifetimeService Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method Supported by the .NET Compact Framework Insert Inserts an item into the list at the specified index.
Protected method Supported by the .NET Compact Framework MemberwiseClone Overloaded.
Public method Supported by the .NET Compact Framework MoveFirst Moves to the first item in the list.
Public method Supported by the .NET Compact Framework MoveLast Moves to the last item in the list.
Public method Supported by the .NET Compact Framework MoveNext Moves to the next item in the list.
Public method Supported by the .NET Compact Framework MovePrevious Moves to the previous item in the list.
Protected method Supported by the .NET Compact Framework OnAddingNew Raises the AddingNew event.
Protected method Supported by the .NET Compact Framework OnBindingComplete Raises the BindingComplete event.
Protected method Supported by the .NET Compact Framework OnCurrentChanged Raises the CurrentChanged event.
Protected method Supported by the .NET Compact Framework OnCurrentItemChanged Raises the CurrentItemChanged event.
Protected method Supported by the .NET Compact Framework OnDataError Raises the DataError event.
Protected method Supported by the .NET Compact Framework OnDataMemberChanged Raises the DataMemberChanged event.
Protected method Supported by the .NET Compact Framework OnDataSourceChanged Raises the DataSourceChanged event.
Protected method Supported by the .NET Compact Framework OnListChanged Raises the ListChanged event.
Protected method Supported by the .NET Compact Framework OnPositionChanged Raises the PositionChanged event.
Public method Supported by the .NET Compact Framework Remove Removes the specified item from the list.
Public method Supported by the .NET Compact Framework RemoveAt Removes the item at the specified index in the list.
Public method Supported by the .NET Compact Framework RemoveCurrent Removes the current item from the list.
Public method Supported by the .NET Compact Framework RemoveFilter Removes the filter associated with the BindingSource.
Public method Supported by the .NET Compact Framework RemoveSort Removes the sort associated with the BindingSource.
Public method Supported by the .NET Compact Framework ResetAllowNew Infrastructure. Reinitializes the AllowNew property.
Public method Supported by the .NET Compact Framework ResetBindings Causes a control bound to the BindingSource to reread all the items in the list and refresh their displayed values.
Public method Supported by the .NET Compact Framework ResetCurrentItem Causes a control bound to the BindingSource to reread the currently selected item and refresh its displayed value.
Public method Supported by the .NET Compact Framework ResetItem Causes a control bound to the BindingSource to reread the item at the specified index, and refresh its displayed value.
Public method Supported by the .NET Compact Framework ResumeBinding Resumes data binding.
Public method Supported by the .NET Compact Framework SuspendBinding Suspends data binding to prevent changes from updating the bound data source.
Public method Supported by the .NET Compact Framework ToString Returns a String containing the name of the Component, if any. This method should not be overridden. (Inherited from Component.)

In .NET Compact Framework 3.5, this member is inherited from Object.ToString().
Top

  NameDescription
Public Extension Method AsQueryable Converts an IEnumerable to an IQueryable. (Defined by Queryable.)
Public Extension Method Cast Converts the elements of an IEnumerable to the specified type. (Defined by Enumerable.)
Public Extension Method OfType Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.)
Top

  NameDescription
Explicit interface implemetation Private method Supported by the .NET Compact Framework IBindingList.AddIndex Adds the PropertyDescriptor to the indexes used for searching.
Explicit interface implemetation Private method Supported by the .NET Compact Framework ISupportInitialize.BeginInit Signals the BindingSource that initialization is starting.
Explicit interface implemetation Private method Supported by the .NET Compact Framework ICancelAddNew.CancelNew Discards a pending new item from the collection.
Explicit interface implemetation Private method Supported by the .NET Compact Framework ISupportInitialize.EndInit Signals the BindingSource that initialization is complete.
Explicit interface implemetation Private method Supported by the .NET Compact Framework ICancelAddNew.EndNew Commits a pending new item to the collection.
Explicit interface implemetation Private method Supported by the .NET Compact Framework IBindingList.RemoveIndex Removes the System.ComponentModel.PropertyDescriptor from the indexes used for searching.
Top
Show: