Пример #1
0
        private void Scheduler_InitAppointmentDisplayText(object sender, DevExpress.XtraScheduler.AppointmentDisplayTextEventArgs e)
        {
            StringBuilder builder = new StringBuilder();

            builder.Append(e.Appointment.Subject);
            builder.Append(Environment.NewLine);
            builder.Append(e.Appointment.Location);
            builder.Append(Environment.NewLine);

            e.Text = builder.ToString();
        }
        private void schedulerControl1_InitAppointmentDisplayText(object sender, DevExpress.XtraScheduler.AppointmentDisplayTextEventArgs e)
        {
            string attendees = "\r\nRequired Attendees: " + Convert.ToString(e.Appointment.CustomFields[RecipientsDataColumn]);

            e.Description = e.Description + attendees;
        }