The C1BindingSource type exposes the following members.

Constructors

  Name Description
Public method C1BindingSource()()()()
Initializes a new instance of the C1BindingSource class.
Public method C1BindingSource(Object, String)
Initializes a new instance of the C1BindingSource class with the specified data source and data member values.

Methods

  Name Description
Public method Add
Adds an existing item to the internal list.
Public method AddNew
Adds a new item to the underlying list.
Public method BeginEdit
Starts an edit operation on the specified object.
Public method Clear
Removes all elements from the list.
Public method Contains
Determines whether an object is an item in the list.
Public method CopyTo
Copies the contents of the List to the specified array, starting at the specified index value.
Public method EndEdit
Applies pending changes to the underlying data source.
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public method FinishAddNew
Commits a pending new item to the collection.
Public method GetEnumerator
Retrieves an enumerator for the List.
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method IndexOf
Searches for the specified object and returns the index of the first occurrence within the entire list.
Public method Insert
Inserts an item into the list at the specified index.
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected method OnAddingNew
Protected method OnDataMemberChanged
Protected method OnDataSourceChanged
Protected method OnListChanged
Public method Remove
Removes the specified item from the list.
Public method RemoveAt
Removes the item at the specified index in the list.
Public method ResetBindings
Causes a control bound to the C1BindingSource to reread all the items in the list and refresh their displayed values.
Public method ResetItem
Causes a control bound to the C1BindingSource to re-read the item at the specified index, and refresh its displayed value.
Public method ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  Name Description
Public property AllowEdit
Gets a value indicating whether items in the underlying list can be edited.
Public property AllowNew
Gets or sets a value indicating whether the AddNew()()()() method can be used to add items to the list.
Public property AllowRemove
Gets a value indicating whether items can be removed from the underlying list.
Public property Count
Gets the total number of items in the underlying list.
Protected property DataKeyNamesInternal
Public property DataMember
Gets or sets the specific list in the data source to which the connector currently binds to.
Public property DataSource
Gets or sets the data source that the connector binds to.
Public property IsFixedSize
Gets a value indicating whether the underlying list has a fixed size.
Public property IsReadOnly
Gets a value indicating whether the underlying list is read-only.
Public property IsSynchronized
Gets a value indicating whether access to the collection is synchronized (thread safe).
Public property Item
Gets or sets the list element at the specified index.
Public property List
Gets the list that the connector is bound to.
Public property SupportsChangeNotification
Gets a value indicating whether the data source supports change notification.
Public property SyncRoot
Gets an object that can be used to synchronize access to the underlying list.

Events

  Name Description
Public event AddingNew
Occurs before an item is added to the underlying list.
Public event DataMemberChanged
Occurs when the DataMember property value has changed.
Public event DataSourceChanged
Occurs when the DataSource property value has changed.
Public event ListChanged
Occurs when the underlying list changes or an item in the list changes.

See Also