wpf-devexpress-dot-xpf-dot-scheduling-dot-scheduleritembasemappings-6625bbbf.md
Gets or sets the mapping that binds the appointment’s SourceObjectContainer.Id property to the data source field.
Namespace : DevExpress.Xpf.Scheduling
Assembly : DevExpress.Xpf.Scheduling.v25.2.dll
NuGet Package : DevExpress.Wpf.Scheduling
public Mapping Id { get; set; }
Public Property Id As Mapping
| Type | Description |
|---|---|
| Mapping |
A DevExpress.Xpf.Scheduling.Mapping object that specifies the bound data field and converter.
|
Use the Id property to bind the appointment’s SourceObjectContainer.Id property 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.
The following code snippets (auto-collected from DevExpress Examples) contain references to the Id 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-highlight-time-intervals/CS/SchedulerCellTemplate/MainWindow.xaml#L37
<dxsch:TimeRegionMappings
Id="Id"
ResourceId="CalendarId"
End="EndTime"
Id="Id"
LabelId="IssueId"
<dxsch:AppointmentMappings
Id="Id"
AllDay="AllDay"
End="EndTime"
Id="Id"
LabelId="SportId"
wpf-scheduler-apply-end-user-restrictions/CS/WpfApplication1/MainWindow.xaml#L27
<dxsch:AppointmentMappings AllDay="AllDay"
Id="Id"
Description="Description"
See Also
SchedulerItemBaseMappings Class