Exemplo n.º 1
0
 void OnSchedulerControlCustomizeAppointmentFlyout(object sender, CustomizeAppointmentFlyoutEventArgs e)
 {
     e.ShowEndDate            = false;
     e.ShowReminder           = false;
     e.ShowLocation           = true;
     e.SubjectAppearance.Font = fontStorage.SubjectAppearanceFont;
     e.Location = "N/A";
 }
Exemplo n.º 2
0
 public static void scheduler_CustomizeAppointmentFlyout(object sender, CustomizeAppointmentFlyoutEventArgs e)
 {
     e.ShowSubject            = true;
     e.Subject                = String.Format("{0} - {1:f}", e.Subject.Split()[0], e.Start);
     e.SubjectAppearance.Font = new Font("Segoe UI", 10f);
     e.ShowReminder           = false;
     e.ShowLocation           = false;
     e.ShowEndDate            = false;
     e.ShowStartDate          = false;
     e.ShowStatus             = true;
     e.Appearance.BackColor   = Color.Gray;
 }
Exemplo n.º 3
0
        private void schedulerControl1_CustomizeAppointmentFlyout(object sender, CustomizeAppointmentFlyoutEventArgs e)
        {
            e.ShowSubject            = true;
            e.Subject                = String.Format("{0}", e.Subject);
            e.SubjectAppearance.Font = new Font("Segoe UI", 10f);
            e.ShowReminder           = false;
            e.ShowLocation           = false;
            e.ShowEndDate            = false;
            e.ShowStartDate          = true;
            e.ShowStatus             = true;
            e.Appearance.BackColor   = Color.Gray;

            var appointEvnt = e.Appointment as DevExpress.XtraScheduler.Appointment;
        }