TcxSchedulerEvent.Duration Property
Specifies the user event’s duration.
Declaration
property Duration: TDateTime read; write;
Property Value
Type |
---|
TDateTime |
Remarks
The period of time in which a user event is active can be defined by the start time (see the Start property) and its duration (the Duration property), instead of by the start and end times (the Start and Finish properties).
The Duration and Finish properties are interchangeable and mutually influence each other.
If the Duration property value is 0, the user event is painted as a milestone (this is in effect in the Gantt View).
Note
the value of the Duration property cannot exceed the frequency with which the user event occurs (see the event’s RecurrenceInfo.Recurrence property) if the user event is recurring.
See Also