Appointment.Subject Property
Gets or sets the appointment’s subject text.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v26.1.Core.dll
NuGet Package: DevExpress.Scheduler.Core
Declaration
Property Value
| Type | Description |
|---|---|
| String | A String value that specifies the text of appointment’s subject. |
Remarks
Use the Subject property to specify the subject text of the appointment. The subject text is one of the main attributes (together with the values of the Appointment.Start, Appointment.End and Appointment.Location properties) which are displayed to identify the appointment within Views of the SchedulerControl.
apt.Subject = "Appointment Created in Code";
apt.Start = DateTime.Now;
apt.End = DateTime.Now.AddHours(1);
schedulerDataStorage1.Appointments.Add(apt);
See Also