The C1BindingSource type exposes the following members.
Constructors
Name | Description | |
---|---|---|
C1BindingSource()()()() |
Initializes a new instance of the C1BindingSource class.
|
|
C1BindingSource(Object, String) |
Initializes a new instance of the C1BindingSource class
with the specified data source and data member values.
|
Methods
Name | Description | |
---|---|---|
Add |
Adds an existing item to the internal list.
|
|
AddNew |
Adds a new item to the underlying list.
|
|
BeginEdit |
Starts an edit operation on the specified object.
|
|
Clear |
Removes all elements from the list.
|
|
Contains |
Determines whether an object is an item in the list.
|
|
CopyTo |
Copies the contents of the List to the specified array,
starting at the specified index value.
|
|
EndEdit |
Applies pending changes to the underlying data source.
|
|
Find(PropertyDescriptor, Object) |
Searches for the index of the item that has the given property descriptor.
|
|
Find(String, Object) |
Returns the index of the item in the list with the specified property name and value.
|
|
FinishAddNew |
Commits a pending new item to the collection.
|
|
GetEnumerator |
Retrieves an enumerator for the List.
|
|
GetItemProperties |
Retrieves an array of PropertyDescriptor objects representing
the bindable properties of the data source list type.
|
|
GetListName |
Gets the name of the list supplying data for the binding.
|
|
IndexOf |
Searches for the specified object and returns the index of the first
occurrence within the entire list.
|
|
Insert |
Inserts an item into the list at the specified index.
|
|
Remove |
Removes the specified item from the list.
|
|
RemoveAt |
Removes the item at the specified index in the list.
|
|
ResetBindings |
Causes a control bound to the C1BindingSource to reread
all the items in the list and refresh their displayed values.
|
|
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 | |
---|---|---|
AllowEdit |
Gets a value indicating whether items in the underlying list can be edited.
|
|
AllowNew |
Gets or sets a value indicating whether the AddNew()()()() method
can be used to add items to the list.
|
|
AllowRemove |
Gets a value indicating whether items can be removed from the underlying list.
|
|
Count |
Gets the total number of items in the underlying list.
|
|
DataMember |
Gets or sets the specific list in the data source to which
the connector currently binds to.
|
|
DataSource |
Gets or sets the data source that the connector binds to.
|
|
IsFixedSize |
Gets a value indicating whether the underlying list has a fixed size.
|
|
IsReadOnly |
Gets a value indicating whether the underlying list is read-only.
|
|
IsSynchronized |
Gets a value indicating whether access to the collection is synchronized (thread safe).
|
|
Item |
Gets or sets the list element at the specified index.
|
|
List |
Gets the list that the connector is bound to.
|
|
SupportsChangeNotification |
Gets a value indicating whether the data source supports change notification.
|
|
SupportsSearching |
Gets a value indicating whether the data source supports searching with
the Find method.
|
|
SyncRoot |
Gets an object that can be used to synchronize access to the underlying list.
|
Events
Name | Description | |
---|---|---|
AddingNew |
Occurs before an item is added to the underlying list.
|
|
DataMemberChanged |
Occurs when the DataMember property value has changed.
|
|
DataSourceChanged |
Occurs when the DataSource property value has changed.
|
|
ListChanged |
Occurs when the underlying list changes or an item in the list changes.
|