MonthCalendar.HitTestInfo.Time 属性

定义

获取特定于经过点击测试的位置的时间信息。Gets the time information specific to the location that was hit-tested.

public:
 property DateTime Time { DateTime get(); };
public DateTime Time { get; }
member this.Time : DateTime
Public ReadOnly Property Time As DateTime

属性值

特定于经过点击测试的位置的时间信息。The time information specific to the location that was hit-tested.

注解

当属性设置为Time DateWeekNumbers时, 属性包含有效的日期。 MonthCalendar.HitAreaThe Time property contains a valid date when the MonthCalendar.HitArea property is set to Date or WeekNumbers.

适用于

另请参阅