dbicCalendar Send comments on this topic.
AppointmentAt Method
See Also 
dbicCalendar Assembly > Dbi.WinControl.Calendar Namespace > dbiCalendar Class : AppointmentAt Method

nX
The x-coordinate to evaluate.
nY
The y-coordinate to evaluate.
Gets an appointment index at a specific x,y location in the control.

Syntax

Visual Basic (Declaration) 
Public Function AppointmentAt( _
   ByVal nX As Integer, _
   ByVal nY As Integer _
) As Integer
C# 
public int AppointmentAt( 
   int nX,
   int nY
)

Parameters

nX
The x-coordinate to evaluate.
nY
The y-coordinate to evaluate.

Return Value

This method will return the index of the appointment at the specified x and y coordinates.  If there is no appointment at that location, a -1 will be returned.

Remarks

The parameters passed to this method are relational to the location in the control, not to the screen.

Requirements

Target Platforms: Current Windows operating system with .NET 8.

See Also