Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxSchedulerEvent.Duration Property

Specifies the user event’s duration.

#Declaration

Delphi
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