Navigates the C1Scheduler control to the nearest Appointment.

Namespace:  C1.Silverlight.Schedule
Assembly:  C1.Silverlight.Schedule (in C1.Silverlight.Schedule.dll)

Syntax

C#
public bool NavigateToAppointment(
	bool previous,
	Nullable<DateTime> startTime
)
Visual Basic
Public Function NavigateToAppointment ( _
	previous As Boolean, _
	startTime As Nullable(Of DateTime) _
) As Boolean

Parameters

previous
Type: System..::..Boolean
If true, means the backward direction; forward direction otherwise.
startTime
Type: System..::..Nullable<(Of <(<'DateTime>)>)>
The start DateTime point. If this parameter has no value, navigation will be performed starting from the SelectedDateTime property value.

Return Value

True if navigation has occurred; False if there are no appointments in the specified direction.

See Also