CalendarHitInfo Members
Contains information about a specific point within a calendar control.Constructors
| Name | Description |
|---|---|
| CalendarHitInfo(Point, ObjectState) | Initializes a new instance of the CalendarHitInfo class for the specified point. |
| CalendarHitInfo(Point) | Initializes a new instance of the CalendarHitInfo class for the specified point. |
Properties
| Name | Description |
|---|---|
| Bounds | Gets or sets the bounding rectangle of the visual element. Not applicable for the DateNavigator control. |
| CalendarInfo | Gets the object which contains the information used to render the visual element located under the test point. |
| Cell | Gets the object which contains the information used to render the calendar cell located under the test point. |
| Footer | Gets the object which contains the information used to render the calendar footer. |
| Header | Gets the object which contains the information used to render the calendar header. |
| HitDate | Gets or sets the calendar date located under the test point. |
| HitInfoType | Gets or sets whether the visual element located under the test point is in Normal, Hot, Pressed, Disabled or Selected state. |
| HitObject | Gets or sets the object being hit. |
| HitPoint | Gets or sets the test point. |
| HitTest | Gets a value which identifies the type of the visual element located under the test point. |
| InfoType | Obsolete. Gets or sets the type of information the CalendarHitInfo contains. |
| IsInCalendarHeader | Gets or sets whether the test point is located in the calendar header. |
| IsInCell | Gets whether the test point is located in a calendar cell. |
| IsInFooter | Gets whether the test point is located in the calendar footer. |
| IsInHeader | Gets whether the test point is located in the calendar header. |
| IsInRightArea | Gets or sets whether the test point is located in the time portion area. |
| Pt | Obsolete. Gets the point being hit. |
| RightArea | Gets the object which contains the information used to render the clock area. |
| ViewInfo | Gets the object which contains the information used to render the calendar. |
Methods
| Name | Description |
|---|---|
| Clear() | Sets the CalendarHitInfo properties to default values which indicate that the hit information is undefined. |
| ContainsSet(Rectangle, CalendarHitInfoType) | Returns whether the specified bounds contain the current test point. |
| Equals(Object, Object) static | Determines whether the specified object instances are considered equal. Inherited from Object. |
| Equals(Object) | Determines whether the specified object is equal to the current object. Inherited from Object. |
| GetHashCode() | Serves as the default hash function. Inherited from Object. |
| GetType() | Gets the Type of the current instance. Inherited from Object. |
| IsEquals(CalendarHitInfo) | Indicates whether the specified object is equal to the current object. |
| IsInNavigationButton() | Gets whether the test point is located in the calendar navigation button. |
| MemberwiseClone() protected | Creates a shallow copy of the current Object. Inherited from Object. |
| ReferenceEquals(Object, Object) static | Determines whether the specified Object instances are the same instance. Inherited from Object. |
| SetCell(CalendarCellViewInfo) | Sets the specified cell as the object being hit. |
| ToString() | Returns a string that represents the current object. Inherited from Object. |
See Also