Skip to main content

Appointment.Subject Property

Gets or sets the appointment’s subject text.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v24.2.Core.dll

Declaration

string Subject { get; set; }

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);

The following code snippets (auto-collected from DevExpress Examples) contain references to the Subject 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.

See Also