Back to Devexpress

AppointmentItem.Subject Property

wpf-devexpress-dot-xpf-dot-scheduling-dot-appointmentitem.md

latest3.4 KB
Original Source

AppointmentItem.Subject Property

Gets or sets the appointment’s subject text.

Namespace : DevExpress.Xpf.Scheduling

Assembly : DevExpress.Xpf.Scheduling.v25.2.dll

NuGet Package : DevExpress.Wpf.Scheduling

Declaration

csharp
public string Subject { get; set; }
vb
Public Property Subject As String

Property Value

TypeDescription
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

csharp
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

csharp
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

vb
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

vb
apt.End = apt.Start.AddMinutes(5)
apt.Subject = subj
apt.LabelId = categoryId

See Also

Appointments

Mappings

AppointmentItem Class

AppointmentItem Members

DevExpress.Xpf.Scheduling Namespace