PocketPlanner Programmer's Guide

Calendar.GetDateAt Method (Int32, Int32)

See Also

Returns the date of the calendar cell located at the specified coordinates.

Namespace: MindFusion.Scheduling.Compact
Assembly: PocketPlanner

 Syntax

C#

public DateTime GetDateAt (
    int x,
    int y
)

Visual Basic

Public Function GetDateAt ( _
    x As Integer, _
    y As Integer _
) As DateTime

 Parameters

x
The x-coordinate of the position at which to look for a date cell.
y
The y-coordinate of the position at which to look for a date cell.

 Return Value

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

 See Also