[]
        
(Showing Draft Content)

C1.Win.Schedule.C1Schedule.GetDateTimeAtPoint

GetDateTimeAtPoint Method

GetDateTimeAtPoint(Point)

Returns the DateTime value which is located in the Schedule at the given screen point.

Declaration
public DateTime GetDateTimeAtPoint(Point location)
Public Function GetDateTimeAtPoint(location As Point) As Date
Parameters
Type Name Description
Point location

The Point value in screen coordinates.

Returns
Type Description
DateTime

The DateTime value at given point if it's a point inside of scheduled area; the value of CurrentDate property in other case.