Export (0) Print
Expand All

BindingSource Members

Encapsulates the data source for a form.

The BindingSource type exposes the following members.

  NameDescription
Public method Supported by the .NET Compact Framework BindingSource Overloaded. Initializes a new instance of the BindingSource class.
Top

  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
Public property Supported by the .NET Compact Framework AllowEdit Gets a value indicating whether items in the underlying list can be edited.
Public property Supported by the .NET Compact Framework AllowNew Gets or sets a value indicating whether the AddNew method can be used to add items to the list.
Public property Supported by the .NET Compact Framework AllowRemove Gets a value indicating whether items can be removed from the underlying list.
Protected property CanRaiseEvents Gets a value indicating whether the component can raise an event. (Inherited from Component.)
Public property Container Gets the IContainer that contains the Component. (Inherited from Component.)
Public property Supported by the .NET Compact Framework Count Gets the total number of items in the underlying list, taking the current Filter value into consideration.
Public property Supported by the .NET Compact Framework CurrencyManager Gets the currency manager associated with this BindingSource.
Public property Supported by the .NET Compact Framework Current Gets the current item in the list.
Public property Supported by the .NET Compact Framework DataMember Gets or sets the specific list in the data source to which the connector currently binds to.
Public property Supported by the .NET Compact Framework DataSource Gets or sets the data source that the connector binds to.
Protected property DesignMode Gets a value that indicates whether the Component is currently in design mode. (Inherited from Component.)
Protected property Supported by the .NET Compact Framework Events Gets the list of event handlers that are attached to this Component. (Inherited from Component.)
Public property Supported by the .NET Compact Framework Filter Gets or sets the expression used to filter which rows are viewed.
Public property Supported by the .NET Compact Framework IsBindingSuspended Gets a value indicating whether the list binding is suspended.
Public property Supported by the .NET Compact Framework IsFixedSize Gets a value indicating whether the underlying list has a fixed size.
Public property Supported by the .NET Compact Framework IsReadOnly Gets a value indicating whether the underlying list is read-only.
Public property Supported by the .NET Compact Framework IsSorted Gets a value indicating whether the items in the underlying list are sorted.
Public property Supported by the .NET Compact Framework IsSynchronized Gets a value indicating whether access to the collection is synchronized (thread safe).
Public property Supported by the .NET Compact Framework Item Gets or sets the list element at the specified index.
Public property Supported by the .NET Compact Framework List Gets the list that the connector is bound to.
Public property Supported by the .NET Compact Framework Position Gets or sets the index of the current item in the underlying list.
Public property Supported by the .NET Compact Framework RaiseListChangedEvents Gets or sets a value indicating whether ListChanged events should be raised.
Public property Supported by the .NET Compact Framework Site Gets or sets the ISite of the Component. (Inherited from Component.)
Public property Supported by the .NET Compact Framework Sort Gets or sets the column names used for sorting, and the sort order for viewing the rows in the data source.
Public property Supported by the .NET Compact Framework SortDescriptions Gets the collection of sort descriptions applied to the data source.
Public property Supported by the .NET Compact Framework SortDirection Gets the direction the items in the list are sorted.
Public property Supported by the .NET Compact Framework SortProperty Infrastructure. Gets the PropertyDescriptor that is being used for sorting the list.
Public property Supported by the .NET Compact Framework SupportsAdvancedSorting Gets a value indicating whether the data source supports multi-column sorting.
Public property Supported by the .NET Compact Framework SupportsChangeNotification Gets a value indicating whether the data source supports change notification.
Public property Supported by the .NET Compact Framework SupportsFiltering Gets a value indicating whether the data source supports filtering.
Public property Supported by the .NET Compact Framework SupportsSearching Gets a value indicating whether the data source supports searching with the Find method.
Public property Supported by the .NET Compact Framework SupportsSorting Gets a value indicating whether the data source supports sorting.
Public property Supported by the .NET Compact Framework SyncRoot Gets an object that can be used to synchronize access to the underlying list.
Top

  NameDescription
Public event Supported by the .NET Compact Framework AddingNew Occurs before an item is added to the underlying list.
Public event Supported by the .NET Compact Framework BindingComplete Occurs when all the clients have been bound to this BindingSource.
Public event Supported by the .NET Compact Framework CurrentChanged Occurs when the currently bound item changes.
Public event Supported by the .NET Compact Framework CurrentItemChanged Occurs when a property value of the Current property has changed.
Public event Supported by the .NET Compact Framework DataError Occurs when a currency-related exception is silently handled by the BindingSource.
Public event Supported by the .NET Compact Framework DataMemberChanged Occurs when the DataMember property value has changed.
Public event Supported by the .NET Compact Framework DataSourceChanged Occurs when the DataSource property value has changed.
Public event Supported by the .NET Compact Framework Disposed Occurs when the component is disposed by a call to the Dispose method. (Inherited from Component.)
Public event Supported by the .NET Compact Framework ListChanged Occurs when the underlying list changes or an item in the list changes.
Public event Supported by the .NET Compact Framework PositionChanged Occurs after the value of the Position property has changed.
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 event Supported by the .NET Compact Framework ISupportInitializeNotification.Initialized Occurs when the BindingSource is initialized.
Explicit interface implemetation Private property Supported by the .NET Compact Framework ISupportInitializeNotification.IsInitialized Gets a value indicating whether the BindingSource is initialized.
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

Community Additions

ADD
Show:
© 2014 Microsoft