AppointmentMapping.ReminderInfo Property

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

Namespace: DevExpress.Xpf.Scheduler

Assembly: DevExpress.Xpf.Scheduler.v20.1.dll

Declaration

public string ReminderInfo { get; set; }
Public Property ReminderInfo As String

Property Value

Type Description
String

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

Remarks

IMPORTANT

You are viewing documentation for the legacy WPF Scheduler control. If you're starting a new project, we strongly recommend that you use a new control declared in the DevExpress.Xpf.Scheduling namespace. If you decide to upgrade an existing project in order to switch to the updated scheduler control, see the Migration Guidelines document.

Use the ReminderInfo property to bind an appointment's Appointment.Reminder property to a data field. The data field is taken from the data source specified by the DataSource property of the AppointmentStorage.

Since the Appointment.Reminder property is of the Reminder type, binding it to a data field implies assigning appropriate values to the Reminder object's specific properties (such as the ReminderBase.AlertTime and ReminderBase.TimeBeforeStart). These values are automatically taken from the bound data field (which should be of the memo type) by parsing the field's value based upon its specific structure.

One appointment can have several associated reminders. The data field stores the information using special notation, as shown below:

<Reminders>
<Reminder AlertTime="02/26/2008 17:15:06" TimeBeforeStart="00:05:00" />
<Reminder AlertTime="02/26/2008 17:00:00" />
<Reminder AlertTime="02/26/2008 16:45:00" />
</Reminders>
TIP

To store and load reminders in xml format, use the ReminderCollectionXmlPersistenceHelper class methods.

Examples

This example demonstrates how to specify standard mappings for appointment properties via the AppointmentStorage.Mappings property.

<dxsch:SchedulerStorage.AppointmentStorage>
    <dxsch:AppointmentStorage>
        <dxsch:AppointmentStorage.Mappings>
            <dxsch:AppointmentMapping 
                Start="StartTime" 
                End="EndTime" 
                AllDay="AllDay"
                Description="Description"
                Label="Label"
                Location="Location"
                Subject="Subject" 
                RecurrenceInfo="RecurrenceInfo"
                ReminderInfo="ReminderInfo"
                Status="Status"
                Type="EventType"/>
        </dxsch:AppointmentStorage.Mappings>
    </dxsch:AppointmentStorage>
</dxsch:SchedulerStorage.AppointmentStorage>
See Also