private void UserControl_Loaded(object sender, System.Windows.RoutedEventArgs e) { if (Controller.IsNewAppointment) { SchedulerFormBehavior.SetTitle(this, "New appointment"); } else { SchedulerFormBehavior.SetTitle(this, "Edit - [" + Appointment.Subject + "]"); } }
void UpdateContainerCaption(string subject) { if (Controller.IsNewAppointment) { SchedulerFormBehavior.SetTitle(this, "New appointment"); } else { SchedulerFormBehavior.SetTitle(this, "Edit - [" + Appointment.Subject + "]"); } }
private void UserControl_Loaded(object sender, RoutedEventArgs e) { SchedulerFormBehavior.SetTitle(this, "Recurrence Range"); }
void UpdateContainerCaption(string subject) { string str = SchedulerUtils.FormatAppointmentFormCaption(this.Controller.AllDay, this.Controller.Subject, false); SchedulerFormBehavior.SetTitle(this, str); }
private void UserControl_Loaded(object sender, RoutedEventArgs e) { SchedulerFormBehavior.SetTitle(this, "Custom Appointment Form"); }