Skip to main content
A newer version of this page is available. .

CalendarHitInfo.HitTest Property

Gets a value which identifies the type of the visual element located under the test point.

Namespace: DevExpress.XtraEditors.Calendar

Assembly: DevExpress.XtraEditors.v18.2.dll

Declaration

public CalendarHitInfoType HitTest { get; set; }

Property Value

Type Description
CalendarHitInfoType

A CalendarHitInfoType enumeration value that identifies the type of the visual element located under the test point.

Available values:

Show 22 items
Name Description
Unknown

The type of the visual element is undefined.

MonthNumber

HitInfoType-MonthNumber

DecMonth

HitInfoType-DecMonth

IncMonth

HitInfoType-IncMonth

DecYear

HitInfoType-DecYear

IncYear

HitInfoType-IncYear

EditMonth

HitInfoType-EditMonth

EditYear

CalendarHitInfoType_EditYear

WeekNumber

HitInfoType-WeekNumber

LeftArrow

For internal use.

RightArrow

For internal use.

LeftArrow2

For internal use.

RightArrow2

For internal use.

Cell

For internal use.

Caption

For internal use.

CurrentDate

For internal use.

Clear

For internal use.

Ok

For internal use.

Cancel

For internal use.

Today

CalendarHitInfoType_Today

LeftScrollArea

For internal use.

RightScrollArea

For internal use.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the HitTest 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.

See Also