PocketPlanner Programmer's Guide

Calendar.GetExactDateAt Method (Point)

See Also

Returns the date located at the specified position.

Namespace: MindFusion.Scheduling.Compact
Assembly: PocketPlanner

 Syntax

C#

public DateTime GetExactDateAt (
    Point point
)

Visual Basic

Public Function GetExactDateAt ( _
    point As Point _
) As DateTime

 Parameters

point
The position at which to look for a date.

 Return Value

A .NET DateTime instance indicating which date is displayed at the specified position. If there is no date cell at the specified point, the return value is DateTime.MinValue.

 Remarks

The returned value represents the exact date located at the specified position in contrast with GetDateAt, which returns the start date of the cell, located at the specified position.

This method works only in a Timetable view.

 See Also