MindFusion WinForms Programmer's Guide
DataSourceTracker Members
Properties Methods Events
 


Determines and manages the properties of a data source.

The following tables list the members exposed by the DataSourceTracker type.

 Public Properties

  Name Description

DataBinder

Gets a DataBinder object that gives access to other DataSourceTracker objects, which are needed when handling references between items from different data source collections.

IdField

Gets or sets the primary key field in a data table.

Properties

Gets a Dictionary object that maps the data source item properties to the control's item properties.

SourceItems

Gets the list of source items.

TargetContext

 

TargetItems

Gets or sets the list of target items.

 Public Methods

  Name Description

AddProperties

 

AddProperty

Overloaded.  

CreateTracker

Overloaded.  

ReadSourceItems

Fills the target list with items corresponding to the source items. Attaches event listeners so the items are kept synchronized.

ReadTargetItems

Fills the source list with items corresponding to the target items. Attaches event listeners so the items are kept synchronized.

SetSourceType

Specifies what type of items should be created in the source collection when an item is added to the target collection.

SetTargetFactory

Sets the factory used to create items in the target collection or remove existing items from there.

SetTargetType

Specifies what type of items should be created in the target collection when an item is added to the source collection.

 Public Events

  Name Description

BindComplete

Raised when all target items have been loaded from the data source.

 See Also

DataSourceTracker Class
MindFusion.DataBinding Namespace