wpf-devexpress-dot-xpf-dot-scheduling-dot-appointmentitem.md
Gets or sets the appointment’s subject text.
Namespace : DevExpress.Xpf.Scheduling
Assembly : DevExpress.Xpf.Scheduling.v25.2.dll
NuGet Package : DevExpress.Wpf.Scheduling
public string Subject { get; set; }
Public Property Subject As String
| Type | Description |
|---|---|
| String |
A String value that specifies the text of appointment’s subject.
|
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.
wpf-scheduler-load-data-on-demand/CS/Shared/Views/SchedulingView.xaml.cs#L31
void LogChange(AppointmentItem appt, string action) {
logTextEdit.Text += string.Format("Appointment '{0}' {1}; changes saved to database", appt.Subject, action) + Environment.NewLine;
}
wpf-scheduler-create-recurrent-appointments-in-code/CS/RecurrenceExamples/MainWindow.xaml.cs#L28
apt.End = apt.Start.AddMinutes(5);
apt.Subject = subj;
apt.LabelId = categoryId;
wpf-scheduler-load-data-on-demand/VB/Shared/Views/SchedulingView.xaml.vb#L36
Sub LogChange(ByVal appt As AppointmentItem, ByVal action As String)
logTextEdit.Text += String.Format("Appointment '{0}' {1}; changes saved to database", appt.Subject, action) & Environment.NewLine
End Sub
wpf-scheduler-create-recurrent-appointments-in-code/VB/RecurrenceExamples/MainWindow.xaml.vb#L28
apt.End = apt.Start.AddMinutes(5)
apt.Subject = subj
apt.LabelId = categoryId
See Also