corelibraries-devexpress-dot-xtrascheduler-dot-appointment-1bf905d8.md
Gets or sets the text for the appointment’s description.
Namespace : DevExpress.XtraScheduler
Assembly : DevExpress.XtraScheduler.v25.2.Core.dll
NuGet Package : DevExpress.Scheduler.Core
string Description { get; set; }
Property Description As String
| Type | Description |
|---|---|
| String |
A String value that specifies the appointment’s description.
|
This property specifies the text displayed as description for the current appointment.
If a SchedulerControl is used in bound mode (that is its data is stored in a database) the Description property’s value may be taken from the data field specified by the AppointmentMappingInfo.Description property.
The following code snippets (auto-collected from DevExpress Examples) contain references to the Description property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
this.edtSubject.Text = appointment.Subject;
this.edtDescription.Text = appointment.Description;
}
winforms-scheduler-drag-drop-appointments-from-grid/CS/T179722/Form1.cs#L88
Subject = apt.Subject,
Description = apt.Description,
Start = DateTime.MinValue,
winforms-scheduler-sync-with-ews/CS/EWSSyncExample/Synchronizer.cs#L250
exchangeAppointment.Subject = schedulerAppointment.Subject;
exchangeAppointment.Body = schedulerAppointment.Description;
exchangeAppointment.Start = schedulerAppointment.Start;
winforms-scheduler-display-custom-tooltips/CS/Form1.cs#L98
apt.Location = "Office";
apt.Description = "Test procedure";
apt.CustomFields["cfPrice"] = 10;
winforms-scheduler-recurrence-series-occurrencecalculator/CS/OccurrenceCalculatorSample/Form1.cs#L52
resultAppointment.Subject = String.Format("Occurrence {0} - {1}", calculatedOccurrences[i].Subject, i);
resultAppointment.Description = calculatedOccurrences[i].Description;
resultAppointment.Start = calculatedOccurrences[i].Start;
winforms-scheduler-display-custom-tooltips/VB/Form1.vb#L29
ttiTitle.Text = "Appointment"
ttiBody.Text = String.Format("Subject: {0} " & Microsoft.VisualBasic.Constants.vbLf & "Description: {1}" & Microsoft.VisualBasic.Constants.vbLf & "Price: {2}", apt.Subject, apt.Description, apt.CustomFields("cfPrice"))
ttiBody.Image = SystemIcons.Information.ToBitmap()
Me.edtSubject.Text = appointment.Subject
Me.edtDescription.Text = appointment.Description
End Sub
winforms-scheduler-drag-drop-appointments-from-grid/VB/T179722/Form1.vb#L77
Dim apt = aptInfo.EditedAppointment
exchangeList.Add(New T179722.AppointmentExchangeData() With {.Subject = apt.Subject, .Description = apt.Description, .Start = System.DateTime.MinValue, .Duration = apt.Duration, .LabelKey = CInt(apt.LabelKey), .StatusKey = CInt(apt.StatusKey)})
Next
winforms-scheduler-sync-with-ews/VB/EWSSyncExample/Synchronizer.vb#L236
exchangeAppointment.Subject = schedulerAppointment.Subject
exchangeAppointment.Body = schedulerAppointment.Description
exchangeAppointment.Start = schedulerAppointment.Start
winforms-scheduler-recurrence-series-occurrencecalculator/VB/OccurrenceCalculatorSample/Form1.vb#L49
resultAppointment.Subject = String.Format("Occurrence {0} - {1}", calculatedOccurrences(i).Subject, i)
resultAppointment.Description = calculatedOccurrences(i).Description
resultAppointment.Start = calculatedOccurrences(i).Start
See Also