C1.WPF.Schedule Namespace > C1Scheduler Class : DataSourceItemSynchronized Event |
'Declaration
Public Event DataSourceItemSynchronized As DataSourceItemSynchronizedEventHandler
public event DataSourceItemSynchronizedEventHandler DataSourceItemSynchronized
The event handler receives an argument of type ItemSynchronizedEventArgs containing data related to this event. The following ItemSynchronizedEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Action | Gets the SynchronizationActionEnum value. |
CollectionItem | Gets the reference to the BasePersistableObject derived object. |
DataSourceItem | Gets the reference to the data source item. |
Storage | Gets the reference to the changed C1BindingSource object. |
Use this event if you want to update a back store of your data source only after the changes to a corresponding collection have been fully completed. For example, if you use ADO.NET DataSet as a data source, you can commit the changes made in a DataRow as a result of changes in the collection item to the underlying database.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2