Skip to main content

TcxSchedulerCustomResourceViewInfoItem.DateTime Property

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

Declaration

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