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

TcxSchedulerCustomResourceViewInfoItem.DateTime Property

Specifies a time which is used to determine the time-dependent visual elements within the scheduling area.

#Declaration

Delphi
property DateTime: TDateTime read; write;

#Property Value

Type
TDateTime

#Remarks

For instance, the DateTime property allows you to find out which date the current all-day event area belongs to (see the scheduler’s ViewDay.OnCustomDrawContainer event).

As for the other example, this property returns the bound time of the first (or the last) user event among the other user events which are located outside of the scheduling area’s boundaries (or of the current date’s cell). It allows the scroll button currently being drawn to be determined, which corresponds to the first (or to the last) user event in the current date (see the TcxScheduler.OnCustomDrawButton event).

See Also