A newer version of this page is available. Switch to the current version.

AppointmentMappings.StatusId Property

Gets or sets the mapping that binds the appointment's AppointmentItem.StatusId property to the data source field.

Namespace: DevExpress.Xpf.Scheduling

Assembly: DevExpress.Xpf.Scheduling.v19.1.dll

Declaration

public Mapping StatusId { get; set; }
Public Property StatusId As Mapping

Property Value

Type Description
Mapping

A Mapping object that specifies the bound data field and converter.

Remarks

Use the StatusId property to bind the appointments' AppointmentItem.StatusId to a data field. The data field is obtained from the data source specified by the DataSource.AppointmentsSourceProperty property.

TIP

Use the Mapping.Converter property to register a value converter for a custom storing format.

Examples

<dxsch:SchedulerControl.DataSource>
    <dxsch:DataSource AppointmentsSource="{Binding Appointments}" ResourcesSource="{Binding Resources}">
        <dxsch:DataSource.AppointmentMappings>
            <dxsch:AppointmentMappings Start="StartTime" 
                                       End="EndTime" 
                                       AllDay="AllDay" 
                                       Subject="Subject" 
                                       Id="ID" 
                                       Description="Description" 
                                       LabelId="Label" 
                                       Location="Location" 
                                       RecurrenceInfo="RecurrenceInfo" 
                                       Reminder="ReminderInfo" 
                                       ResourceId="CarId" 
                                       StatusId="Status" 
                                       Type="EventType" />
        </dxsch:DataSource.AppointmentMappings>
        <dxsch:DataSource.ResourceMappings>
            <dxsch:ResourceMappings Id="ID" 
                                    Caption="Model" />
        </dxsch:DataSource.ResourceMappings>
    </dxsch:DataSource>
</dxsch:SchedulerControl.DataSource>
<dxsch:DayView ResourcesPerPage="3" />
<dxsch:MonthView/>
See Also