Back to Devexpress

AppointmentMappingInfo.Subject Property

corelibraries-devexpress-dot-xtrascheduler-dot-appointmentmappinginfo-4813ed00.md

latest6.1 KB
Original Source

AppointmentMappingInfo.Subject Property

Gets or sets the data field to which an appointment’s Appointment.Subject property is bound.

Namespace : DevExpress.XtraScheduler

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

NuGet Package : DevExpress.Scheduler.Core

Declaration

csharp
[DefaultValue("")]
public virtual string Subject { get; set; }
vb
<DefaultValue("")>
Public Overridable Property Subject As String

Property Value

TypeDefaultDescription
StringString.Empty

A String value that specifies the name of the bound data field.

|

Remarks

Use the Subject property to bind an appointment’s Appointment.Subjectproperty to a data field in the external data source. The data source is specified by the PersistentObjectStorage<T>.DataSource property of the AppointmentStorage.

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.

winforms-scheduler-gantt-view/CS/dxT183299/Form1.cs#L80

csharp
mappings.End = "EndTime";
mappings.Subject = "Subject";
mappings.AllDay = "AllDay";

winforms-scheduler-handle-fetchappointments-event/CS/Form1.cs#L54

csharp
mappings.End = "EndTime";
mappings.Subject = "Subject";
mappings.AllDay = "AllDay";

how-to-initialize-appointment-images-and-display-text-using-the-custom-field-values-t328320/CS/CustomAppointmentImageAndText/Form1.cs#L79

csharp
mappings.End = "EndTime";
mappings.Subject = "Subject";
mappings.AllDay = "AllDay";

winforms-scheduler-replace-default-command/CS/WindowsFormsApplication1/Form1.cs#L61

csharp
mappings.End = "EndTime";
mappings.Subject = "Subject";
mappings.AllDay = "AllDay";

winforms-scheduler-sync-outlook-calendars/CS/SyncWithOutlook/Form1.cs#L51

csharp
aptmappings.End = "EndTime";
aptmappings.Subject = "Subject";
aptmappings.AllDay = "AllDay";

winforms-scheduler-bind-sql-server-customize-update-delete-insert-queries/VB/Form1.vb#L34

vb
appointmentMappings.End = "EndTime"
appointmentMappings.Subject = "Subject"
schedulerStorage.Appointments.CommitIdToDataSource = False

winforms-scheduler-gantt-view/VB/dxT183299/Form1.vb#L76

vb
mappings.End = "EndTime"
mappings.Subject = "Subject"
mappings.AllDay = "AllDay"

winforms-scheduler-handle-fetchappointments-event/VB/Form1.vb#L57

vb
mappings.End = "EndTime"
mappings.Subject = "Subject"
mappings.AllDay = "AllDay"

how-to-initialize-appointment-images-and-display-text-using-the-custom-field-values-t328320/VB/CustomAppointmentImageAndText/Form1.vb#L74

vb
mappings.End = "EndTime"
mappings.Subject = "Subject"
mappings.AllDay = "AllDay"

winforms-scheduler-replace-default-command/VB/WindowsFormsApplication1/Form1.vb#L61

vb
mappings.End = "EndTime"
mappings.Subject = "Subject"
mappings.AllDay = "AllDay"

See Also

Appointment Mappings

AppointmentMappingInfo Class

AppointmentMappingInfo Members

DevExpress.XtraScheduler Namespace