The ObjectBindingSource type exposes the following members.

Constructors

  NameDescription
ObjectBindingSource
Initializes a new instance of the ObjectBindingSource class.

Methods

  NameDescription
Add
Adds an existing item to the internal list.
(Inherited from BindingSource.)
AddNew
Adds a new item to the underlying list.
(Inherited from BindingSource.)
ApplySortOverloaded.
CancelEdit
Cancels the current edit operation.
(Inherited from BindingSource.)
Clear
Removes all elements from the list.
(Inherited from BindingSource.)
Contains
Determines whether an object is an item in the list.
(Inherited from BindingSource.)
CopyTo
Copies the contents of the List to the specified array, starting at the specified index value.
(Inherited from BindingSource.)
Dispose
Releases the unmanaged resources used by the BindingSource and optionally releases the managed resources.
(Inherited from BindingSource.)
EndEdit
Applies pending changes to the underlying data source.
(Inherited from BindingSource.)
FindOverloaded.
GetEnumerator
Retrieves an enumerator for the List.
(Inherited from BindingSource.)
GetItemProperties
Retrieves an array of PropertyDescriptor objects representing the bindable properties of the data source list type.
(Inherited from BindingSource.)
GetListName
Gets the name of the list supplying data for the binding.
(Inherited from BindingSource.)
GetRelatedCurrencyManager
Gets the related currency manager for the specified data member.
(Inherited from BindingSource.)
IndexOf
Searches for the specified object and returns the index of the first occurrence within the entire list.
(Inherited from BindingSource.)
Insert
Inserts an item into the list at the specified index.
(Inherited from BindingSource.)
MoveFirst
Moves to the first item in the list.
(Inherited from BindingSource.)
MoveLast
Moves to the last item in the list.
(Inherited from BindingSource.)
MoveNext
Moves to the next item in the list.
(Inherited from BindingSource.)
MovePrevious
Moves to the previous item in the list.
(Inherited from BindingSource.)
OnAddingNew
Raises the AddingNew event.
(Inherited from BindingSource.)
OnBindingComplete
Raises the BindingComplete event.
(Inherited from BindingSource.)
OnCurrentChanged
Raises the CurrentChanged event.
(Inherited from BindingSource.)
OnCurrentItemChanged
Raises the CurrentItemChanged event.
(Inherited from BindingSource.)
OnDataError
Raises the DataError event.
(Inherited from BindingSource.)
OnDataMemberChanged
Raises the DataMemberChanged event.
(Inherited from BindingSource.)
OnDataSourceChanged
Raises the DataSourceChanged event.
(Inherited from BindingSource.)
OnListChanged
Raises the ListChanged event.
(Inherited from BindingSource.)
OnPositionChanged
Raises the PositionChanged event.
(Inherited from BindingSource.)
Remove
Removes the specified item from the list.
(Inherited from BindingSource.)
RemoveAt
Removes the item at the specified index in the list.
(Inherited from BindingSource.)
RemoveCurrent
Removes the current item from the list.
(Inherited from BindingSource.)
RemoveFilter
Removes the filter associated with the BindingSource.
(Inherited from BindingSource.)
RemoveSort
Removes the sort associated with the BindingSource.
(Inherited from BindingSource.)
ResetAllowNew
Reinitializes the AllowNew property.
(Inherited from BindingSource.)
ResetBindings
Causes a control bound to the BindingSource to reread all the items in the list and refresh their displayed values.
(Inherited from BindingSource.)
ResetCurrentItem
Causes a control bound to the BindingSource to reread the currently selected item and refresh its displayed value.
(Inherited from BindingSource.)
ResetItem
Causes a control bound to the BindingSource to reread the item at the specified index, and refresh its displayed value.
(Inherited from BindingSource.)
ResumeBinding
Resumes data binding.
(Inherited from BindingSource.)
SuspendBinding
Suspends data binding to prevent changes from updating the bound data source.
(Inherited from BindingSource.)

Properties

  NameDescription
AllowEdit
Gets a value indicating whether items in the underlying list can be edited.
(Inherited from BindingSource.)
AllowNew
Gets or sets a value indicating whether the AddNew()()() method can be used to add items to the list.
(Inherited from BindingSource.)
AllowRemove
Gets a value indicating whether items can be removed from the underlying list.
(Inherited from BindingSource.)
Count
Gets the total number of items in the underlying list.
(Inherited from BindingSource.)
CurrencyManager
Gets the currency manager associated with this BindingSource.
(Inherited from BindingSource.)
Current
Gets the current item in the list.
(Inherited from BindingSource.)
DataMember
Gets or sets the specific list in the data source to which the connector currently binds to.
(Inherited from BindingSource.)
DataSource
Gets or sets data source object.
Filter
Gets or sets the expression used to filter which rows are viewed.
(Inherited from BindingSource.)
IsBindingSuspended
Gets a value indicating whether the list binding is suspended.
(Inherited from BindingSource.)
IsFixedSize
Gets a value indicating whether the underlying list has a fixed size.
(Inherited from BindingSource.)
IsReadOnly
Gets a value indicating whether the underlying list is read-only.
(Inherited from BindingSource.)
IsSorted
Gets a value indicating whether the items in the underlying list are sorted.
(Inherited from BindingSource.)
IsSynchronized
Gets a value indicating whether access to the collection is synchronized (thread safe).
(Inherited from BindingSource.)
Item
Gets or sets the list element at the specified index.
(Inherited from BindingSource.)
List
Gets the list that the connector is bound to.
(Inherited from BindingSource.)
Position
Gets or sets the index of the current item in the underlying list.
(Inherited from BindingSource.)
RaiseListChangedEvents
Gets or sets a value indicating whether ListChanged events should be raised.
(Inherited from BindingSource.)
Sort
Gets or sets the column names used for sorting, and the sort order for viewing the rows in the data source.
(Inherited from BindingSource.)
SortDescriptions
Gets the collection of sort descriptions applied to the data source.
(Inherited from BindingSource.)
SortDirection
Gets the direction the items in the list are sorted.
(Inherited from BindingSource.)
SortProperty
Gets the PropertyDescriptor that is being used for sorting the list.
(Inherited from BindingSource.)
SupportsAdvancedSorting
Gets a value indicating whether the data source supports multi-column sorting.
(Inherited from BindingSource.)
SupportsChangeNotification
Gets a value indicating whether the data source supports change notification.
(Inherited from BindingSource.)
SupportsFiltering
Gets a value indicating whether the data source supports filtering.
(Inherited from BindingSource.)
SupportsSearching
Gets a value indicating whether the data source supports searching with the Find(PropertyDescriptor, Object) method.
(Inherited from BindingSource.)
SupportsSorting
Gets a value indicating whether the data source supports sorting.
(Inherited from BindingSource.)
SyncRoot
Gets an object that can be used to synchronize access to the underlying list.
(Inherited from BindingSource.)

Events

  NameDescription
AddingNew
Occurs before an item is added to the underlying list.
(Inherited from BindingSource.)
BindingComplete
Occurs when all the clients have been bound to this BindingSource.
(Inherited from BindingSource.)
CurrentChanged
Occurs when the currently bound item changes.
(Inherited from BindingSource.)
CurrentItemChanged
Occurs when a property value of the Current property has changed.
(Inherited from BindingSource.)
DataError
Occurs when a currency-related exception is silently handled by the BindingSource.
(Inherited from BindingSource.)
DataMemberChanged
Occurs when the DataMember property value has changed.
(Inherited from BindingSource.)
DataSourceChanged
Occurs when the DataSource property value has changed.
(Inherited from BindingSource.)
ListChanged
Occurs when the underlying list changes or an item in the list changes.
(Inherited from BindingSource.)
PositionChanged
Occurs after the value of the Position property has changed.
(Inherited from BindingSource.)

See Also