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 Find(PropertyDescriptor, Object)
Searches for the index of the item that has the given property descriptor.
Public method Find(String, Object)
Returns the index of the item in the list with the specified property name and value.
Public method FinishAddNew
Commits a pending new item to the collection.
Public method GetEnumerator
Retrieves an enumerator for the List.
Public method GetItemProperties
Retrieves an array of PropertyDescriptor objects representing the bindable properties of the data source list type.
Public method GetListName
Gets the name of the list supplying data for the binding.
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.
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.

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.
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 SupportsSearching
Gets a value indicating whether the data source supports searching with the Find method.
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