TcxCustomScheduler.ActiveHitTest Property
Provides access to HitTest information on the inspected point within the Scheduler control client area.
Declaration
property ActiveHitTest: TcxSchedulerSubControlHitTest read;
Property Value
| Type | Description |
|---|---|
| TcxSchedulerSubControlHitTest | Stores Scheduler HitTest information. |
Remarks
HitTest information identifies the inspected visual element – a visual element at the current mouse pointer position or at specified coordinates).
Use the ActiveHitTest property to identify the visual element at the current mouse pointer position. The ActiveHitTest property returns different HitTest containers depending on the mouse pointer position and the active Scheduler View.
Cast the returned 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.