.NET Windows Forms in a Nutshell

MonthCalendar.HitTestInfo

System. Windows .Forms (system. windows .forms.dll) sealed class

This class is used to encapsulate the results of the MonthCalendar.HitTest() method. You can use this method to determine the HitArea of the calendar under a particular Point . You can also get the Time represented by that part of the MonthCalendar , if any.

public sealed class MonthCalendar.HitTestInfo { // Public Instance Properties public HitArea HitArea {get; } public Point Point {get; } public DateTime Time {get; } }

Категории