Appointment-Navigation in WPF Scheduler (SfSchedule)
When there is no appointment in the current view, we can navigate to view the previous appointment or next appointment from the current view. This can be enabled or disabled using the property ShowNavigationTap. The default value of ShowNavigationTap property is False.
<Schedule:SfSchedule x:Name="schedule" ScheduleType="Week"
ShowAppointmentNavigationButtons ="True" />
SfSchedule schedule = new SfSchedule();
schedule.ScheduleType = ScheduleType.Week;
schedule.ShowAppointmentNavigationButtons = true;
this.grid.Children.Add(schedule);
PreviousNavigationButtonTemplate
Previous appointment navigation button can be customized by PreviousNavigationButtonTemplate property.
<Schedule:SfSchedule x:Name="schedule" ScheduleType="Day" ShowAppointmentNavigationButtons="True">
<Schedule:SfSchedule.PreviousNavigationButtonTemplate>
<DataTemplate>
<Border Height="200" Width="50" Background="Red"/> </DataTemplate>
</Schedule:SfSchedule.PreviousNavigationButtonTemplate>
</Schedule:SfSchedule>
NextNavigationButtonTemplate
By using the NextNavigationButtonTemplate property the next appointment navigation button can be customized to view the next appointment.
<Schedule:SfSchedule x:Name="schedule" ScheduleType="Day" ShowAppointmentNavigationButtons="True">
<Schedule:SfSchedule.NextNavigationButtonTemplate> <DataTemplate>
<Border Height="200" Width="50" Background="Red"/> </DataTemplate>
</Schedule:SfSchedule.NextNavigationButtonTemplate>
</Schedule:SfSchedule>
Was this page helpful?
Yes
No
Thank you for your feedback!
Thank you for your feedback and comments. We will rectify this as soon as possible!
An unknown error has occurred. Please try again.
Help us improve this page