Back to Devexpress

SchedulerControl.TimeRegionItems Property

wpf-devexpress-dot-xpf-dot-scheduling-dot-schedulercontrol-4220d3b0.md

latest2.3 KB
Original Source

SchedulerControl.TimeRegionItems Property

Provides access to the time regions in the scheduler.

Namespace : DevExpress.Xpf.Scheduling

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

NuGet Package : DevExpress.Wpf.Scheduling

Declaration

csharp
public TimeRegionItemCollection TimeRegionItems { get; }
vb
Public ReadOnly Property TimeRegionItems As TimeRegionItemCollection

Property Value

TypeDescription
DevExpress.Xpf.Scheduling.TimeRegionItemCollection

A collection of time region items.

|

Remarks

The TimeRegionItems property provides access to a collection of time regions, excluding regular occurrences (TimeRegionType.Occurrence) in a recurring series.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the TimeRegionItems 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-filter-time-regions/CS/DXSample/MainWindow.xaml#L42

xml
ShowDateNavigationPanel="True">
<dxsch:SchedulerControl.TimeRegionItems>
    <dxsch:TimeRegionItem BrushName="{x:Static dxsch:DefaultBrushNames.TimeRegion3Hatch}"

See Also

SchedulerControl Class

SchedulerControl Members

DevExpress.Xpf.Scheduling Namespace