Scheduler for WPF | ComponentOne
C1.WPF.Schedule Namespace / C1Scheduler Class / NavigateToPreviousAppointment Method / NavigateToPreviousAppointment() Method

In This Topic
    NavigateToPreviousAppointment() Method
    In This Topic
    Makes the nearest appointment before C1Scheduler.SelectedDateTime visible in the control UI.
    Syntax
    'Declaration
     
    
    Public Overloads Function NavigateToPreviousAppointment() As Boolean
    public bool NavigateToPreviousAppointment()

    Return Value

    This method returns a value indicating whether the requested appointment has been found and made visible.
    Remarks
    This method sets the C1Scheduler.SelectedAppointment property to the previous appointment found and the C1Scheduler.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 C1Scheduler.NavigateToPreviousAppointmentCommand command.

    See Also