CalendarHitInfo.HitObject Property
Gets or sets the object being hit.
Namespace: DevExpress.XtraEditors.Calendar
Assembly: DevExpress.XtraEditors.v24.2.dll
Declaration
Property Value
Type | Description |
---|---|
Object | A DevExpress.XtraScheduler.Drawing.DateNavigatorDayNumberCellInfo object if the day or weeknumber cell of the DateNavigator control is hit; otherwise, null. |
Remarks
Use the DateNavigator.GetHitInfo method to obtain the CalendarHitInfo object. If the CalendarHitInfo.InfoType equals the CalendarHitInfoType.MonthNumber or CalendarHitInfoType.WeekNumber, the HitObject returns the DevExpress.XtraScheduler.Drawing.DateNavigatorDayNumberCellInfo object. Otherwise, it returns null.
See Also