[]
        
(Showing Draft Content)

C1.WPF.Schedule.C1Scheduler.NavigateToAppointment

NavigateToAppointment Method

NavigateToAppointment(bool, DateTime?)

Navigates the C1Scheduler control to the nearest C1.Schedule.Appointment.

Declaration
public bool NavigateToAppointment(bool previous, DateTime? startTime)
Parameters
Type Name Description
bool previous

If true, means the backward direction; forward direction otherwise.

DateTime? startTime

The start DateTime point. If this parameter has no value, navigation will be performed starting from the SelectedDateTime property value.

Returns
Type Description
bool

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

NavigateToAppointment(BaseObject, bool, DateTime?)

Navigates the C1Scheduler control to the nearest C1.Schedule.Appointment in the GroupItems with the specified owner object.

Declaration
public bool NavigateToAppointment(BaseObject owner, bool previous, DateTime? startTime)
Parameters
Type Name Description
BaseObject owner

An owner object determining the SchedulerGroupItem to search through.

bool previous

If true, means the backward direction; forward direction otherwise.

DateTime? startTime

The start DateTime point. If this parameter has no value, navigation will be performed starting from the SelectedDateTime property value.

Returns
Type Description
bool

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