Back to Devexpress

TimeRegionMappings.Type Property

wpf-devexpress-dot-xpf-dot-scheduling-dot-timeregionmappings-b00fdb26.md

latest2.3 KB
Original Source

TimeRegionMappings.Type Property

Gets or sets the mapping that binds the time region’s TimeRegionItem.Type property to the data source.

Namespace : DevExpress.Xpf.Scheduling

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

NuGet Package : DevExpress.Wpf.Scheduling

Declaration

csharp
public Mapping Type { get; set; }
vb
Public Property Type As Mapping

Property Value

TypeDescription
Mapping

A DevExpress.Xpf.Scheduling.Mapping object that indicates the data field and converter.

|

Remarks

Use the Type property to bind the time region’s TimeRegionItem.Type property to a data field. The data field is obtained from the data source specified by the DataSource.TimeRegionsSource property.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Type 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#L42

xml
Brush="Brush"
Type="Type"
RecurrenceInfo="RecurrenceInfo"

See Also

TimeRegionMappings Class

TimeRegionMappings Members

DevExpress.Xpf.Scheduling Namespace