Back to Devexpress

CustomFieldMapping.Name Property

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

latest4.3 KB
Original Source

CustomFieldMapping.Name Property

Gets or sets the name of the property which should be mapped to a specific field in a data source.

Namespace : DevExpress.Xpf.Scheduling

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

NuGet Package : DevExpress.Wpf.Scheduling

Declaration

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

Property Value

TypeDescription
String

A String value which represents the property name to be mapped.

|

Remarks

Use the Name property to specify the custom property name which is mapped to the data field.

Use the CustomFieldMapping.Mapping property to specify the data field for a custom mapping.

The following code snippets (auto-collected from DevExpress Examples) contain references to the Name 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-use-scheduler-report-to-print-and-export-appointments/CS/PrintingExample/MainWindow.xaml#L59

xml
Type="Type">
<dxsch:CustomFieldMapping Mapping="InsuranceNumber" Name="InsuranceNumber" />
<dxsch:CustomFieldMapping Mapping="FirstVisit" Name="FirstVisit" />

wpf-scheduler-drop-data-from-grid-control-to-create-appointments/CS/DragDropFromGridExample/MainWindow.xaml#L37

xml
Type="Type">
<dxsch:CustomFieldMapping Mapping="InsuranceNumber" Name="InsuranceNumber" />
<dxsch:CustomFieldMapping Mapping="FirstVisit" Name="FirstVisit" />

wpf-scheduler-specify-custom-edit-and-recurrence-dialogs/CS/CustomMvvmFormWithRecurrenceExample/MainWindow.xaml#L66

xml
Type="Type">
<dxsch:CustomFieldMapping Mapping="InsuranceNumber" Name="InsuranceNumber" />
<dxsch:CustomFieldMapping Mapping="FirstVisit" Name="FirstVisit" />

wpf-scheduler-handle-customappointmentbackground-event-to-change-appointment-background/CS/CustomAppointmentBackground/MainWindow.xaml#L32

xml
Type="Type">
<dxsch:CustomFieldMapping Mapping="InsuranceNumber" Name="InsuranceNumber" />
<dxsch:CustomFieldMapping Mapping="FirstVisit" Name="FirstVisit" />

wpf-scheduler-implement-custom-appointment-labels-and-statuses/CS/CustomLabelsAndStatusesExample/MainWindow.xaml#L48

xml
StatusId="PaymentStateId">
<dxsch:CustomFieldMapping Mapping="InsuranceNumber" Name="InsuranceNumber" />
<dxsch:CustomFieldMapping Mapping="FirstVisit" Name="FirstVisit" />

See Also

CustomFieldMapping Class

CustomFieldMapping Members

DevExpress.Xpf.Scheduling Namespace