[]
        
(Showing Draft Content)

C1.WPF.Schedule.C1Scheduler.NavigateToPreviousAppointment

NavigateToPreviousAppointment Method

NavigateToPreviousAppointment()

Makes the nearest appointment before SelectedDateTime visible in the control UI.

Declaration
public bool NavigateToPreviousAppointment()
Returns
Type Description
bool

This method returns a value indicating whether the requested appointment has been found and made visible.

Remarks

This method sets the SelectedAppointment property to the previous appointment found and the SelectedDateTime property to the start time of the appointment. If the requested appointment has not been found, then the method changes nothing.

This method implements the NavigateToPreviousAppointmentCommand command.

NavigateToPreviousAppointment(BaseObject)

Makes the nearest appointment before SelectedDateTime visible in the control UI.

Declaration
public bool NavigateToPreviousAppointment(BaseObject owner)
Parameters
Type Name Description
BaseObject owner

An owner object determining the SchedulerGroupItem to search through.

Returns
Type Description
bool

This method returns a value indicating whether the requested appointment has been found and made visible.

Remarks

This method sets the SelectedAppointment property to the previous appointment found and the SelectedDateTime property to the start time of the appointment. If the requested appointment has not been found, then the method changes nothing.

This method implements the NavigateToPreviousAppointmentCommand command.