Skip to main content

TcxSchedulerSubControlHitTest Class

The base class for HitTest information containers for Scheduler UI elements.

Declaration

TcxSchedulerSubControlHitTest = class(
    TObject
)

Remarks

HitTest information identifies the inspected visual element — a visual element at the current mouse pointer position or at coordinates specified using HitPoint, HitX, and HitY properties).

Main API Members

The list below outlines key members of the TcxSchedulerSubControlHitTest class. These members allow you to identify UI elements by their coordinates within the client area.

HitPoint
Specifies the inspected point.
HitX | HitY
Specify individual inspected point coordinates.
Recalculate
Recalculates HitTest information based on the current inspected point coordinates.
HitAtControl
Identifies if the inspected point belongs to the Scheduler control client area.
HitAtTime
Identifies if the inspected point is within the “time” element of the scheduling area or the Date Navigator.
Time
Returns the date/time value that corresponds to the inspected point position within the scheduling area or the Date Navigator.

Direct TcxSchedulerSubControlHitTest Class Reference

The TcxCustomScheduler.ActiveHitTest property references a TcxSchedulerSubControlHitTest object.

Terminal TcxSchedulerSubControlHitTest Class Descendants

You may need to cast a TcxSchedulerSubControlHitTest object to one of the following classes to access all public API members:

TcxSchedulerAgendaViewHitTest
Stores HitTest information for the Agenda View.
TcxSchedulerDateNavigatorHitTest
Stores HitTest information for the Date Navigator.
TcxSchedulerDayViewHitTest
Stores HitTest information for the Day View.
TcxSchedulerGanttViewHitTest
Stores HitTest information for the Gantt View.
TcxSchedulerTimeGridViewHitTest
Stores HitTest information for the TimeGrid View.
TcxSchedulerYearViewHitTest
Stores HitTest information for the Year View.

Tip

Call the ActiveHitTest.ClassType function or use other RTTI functionality to identify the HitTest container type.

Inheritance

TObject
TcxSchedulerSubControlHitTest
See Also