AppointmentExchanger.SourceObjectCount Property

Gets the number of objects (appointments) that will take part in an exchange procedure.

Namespace: DevExpress.XtraScheduler.Exchange

Assembly: DevExpress.XtraScheduler.v21.2.Core.dll

Declaration

public int SourceObjectCount { get; }

Property Value

Type Description
Int32

An integer, representing the number of objects for exchange.

Remarks

The synchronization process takes time to accomplish. You may use a ProgressBarControl to display the progress of this operation. In this situation, the RepositoryItemProgressBar.Maximum should be set to the SourceObjectCount value for correct indication.

The SourceObjectCount includes normal appointments as well as patterns and recurrent series exceptions (appointments of AppointmentType.ChangedOccurrence or AppointmentType.DeletedOccurrence types). It counts all objects subjected to the synchronization process, regardless of their final state - they could be either modified or deleted during synchronization.

The following code snippets (auto-collected from DevExpress Examples) contain references to the SourceObjectCount property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also