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

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

    Return Value

    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 next 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 NavigateToNextAppointmentCommand command.

    See Also