System.Windows.Forms.BindingSource: Property Members

The properties of System.Windows.Forms.BindingSource are listed below. For a list of all members, see the BindingSource Members list.

See Also: Inherited members from System.ComponentModel.Component

Public Properties

[read-only]
AllowEditbool.

Gets a value indicating whether items in the underlying list can be edited.

AllowNewbool.

Gets or sets a value indicating whether the BindingSource.AddNew method can be used to add items to the list.

[read-only]
AllowRemovebool.

Gets a value indicating whether items can be removed from the underlying list.

[read-only]
Countint.

Gets the total number of items in the underlying list, taking the current BindingSource.Filter value into consideration.

[read-only]
CurrencyManagerCurrencyManager.

Gets the currency manager associated with this System.Windows.Forms.BindingSource.

[read-only]
Currentobject.

Gets the current item in the list.

DataMemberstring.

Gets or sets the specific list in the data source to which the connector currently binds to.

DataSourceobject.

Gets or sets the data source that the connector binds to.

Filterstring.

Gets or sets the expression used to filter which rows are viewed.

[read-only]
IsBindingSuspendedbool.

Gets a value indicating whether the list binding is suspended.

[read-only]
IsFixedSizebool.

Gets a value indicating whether the underlying list has a fixed size.

[read-only]
IsReadOnlybool.

Gets a value indicating whether the underlying list is read-only.

[read-only]
IsSortedbool.

Gets a value indicating whether the items in the underlying list are sorted.

[read-only]
IsSynchronizedbool.

Gets a value indicating whether access to the collection is synchronized (thread safe).

default property
Item(int)object. Documentation for this section has not yet been entered.
[read-only]
ListIList.

Gets the list that the connector is bound to.

Positionint.

Gets or sets the index of the current item in the underlying list.

RaiseListChangedEventsbool.

Gets or sets a value indicating whether BindingSource.ListChanged events should be raised.

Sortstring.

Gets or sets the column names used for sorting, and the sort order for viewing the rows in the data source.

[read-only]
SortDescriptionsSystem.ComponentModel.ListSortDescriptionCollection.

Gets the collection of sort descriptions applied to the data source.

[read-only]
SortDirectionSystem.ComponentModel.ListSortDirection.

Gets the direction the items in the list are sorted.

[read-only]
SortPropertySystem.ComponentModel.PropertyDescriptor.

Gets the System.ComponentModel.PropertyDescriptor that is being used for sorting the list.

[read-only]
SupportsAdvancedSortingbool.

Gets a value indicating whether the data source supports multi-column sorting.

[read-only]
SupportsChangeNotificationbool.

Gets a value indicating whether the data source supports change notification.

[read-only]
SupportsFilteringbool.

Gets a value indicating whether the data source supports filtering.

[read-only]
SupportsSearchingbool.

Gets a value indicating whether the data source supports searching with the BindingSource.Find(System.ComponentModel.PropertyDescriptor, object) method.

[read-only]
SupportsSortingbool.

Gets a value indicating whether the data source supports sorting.

[read-only]
SyncRootobject.

Gets an object that can be used to synchronize access to the underlying list.