CalendarHitInfo.HitObject Property
Gets or sets the object being hit.
Namespace: DevExpress.XtraEditors.Calendar
Assembly: DevExpress.XtraEditors.v18.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.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the HitObject property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.