Scheduler for WPF and Silverlight | ComponentOne
C1.Silverlight.Schedule Namespace / C1Scheduler Class / NavigateToPreviousAppointment Method / NavigateToPreviousAppointment(BaseObject) Method
An owner object determining the SchedulerGroupItem to search through.

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

    Parameters

    owner
    An owner object determining the SchedulerGroupItem to search through.

    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 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.

    See Also