Back to Devexpress

RecurrenceInfo.Start Property

corelibraries-devexpress-dot-xtrascheduler-dot-recurrenceinfo-5283fb5a.md

latest7.1 KB
Original Source

RecurrenceInfo.Start Property

Gets or sets the recurrence’s start date.

Namespace : DevExpress.XtraScheduler

Assembly : DevExpress.XtraScheduler.v25.2.Core.dll

NuGet Package : DevExpress.Scheduler.Core

Declaration

csharp
public DateTime Start { get; set; }
vb
Public Property Start As Date

Property Value

TypeDescription
DateTime

A DateTime value that specifies the start date for the recurrence.

|

Remarks

The Start property specifies the start date for the range of recurrence - the period of time in which the corresponding appointment reoccurs.

The end date of the recurrence range depends upon the setting of the RecurrenceInfo.Range property and can be specified either via the RecurrenceInfo.OccurrenceCount or RecurrenceInfo.End (RecurrenceInfo.Duration) property. If the RecurrenceInfo.Range property is set to RecurrenceRange.NoEndDate, the recurrence range has no end date - the corresponding appointment will repeat forever.

The following code snippets (auto-collected from DevExpress Examples) contain references to the Start 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-obtain-selected-appointment-resource-and-time-interval/CS/DXSchedulerSelection/Model/SportChannels.cs#L104

csharp
RecurrenceInfo recInfo = new RecurrenceInfo();
recInfo.Start = pattern.StartTime;
recInfo.End = pattern.EndTime.AddDays(dayCount);

wpf-scheduler-add-datenavigator-and-resourcetree-controls/CS/DXSample/Data/Data.cs#L178

csharp
RecurrenceInfo recInfo = new RecurrenceInfo();
recInfo.Start = pattern.StartTime;
recInfo.End = pattern.EndTime.AddDays(dayCount);

wpf-scheduler-customize-context-menus/CS/DXScheduler_PopUpMenuCustomization/Model/SportChannels.cs#L104

csharp
RecurrenceInfo recInfo = new RecurrenceInfo();
recInfo.Start = pattern.StartTime;
recInfo.End = pattern.EndTime.AddDays(dayCount);

wpf-scheduler-disable-resource-colorization/CS/DXSample/Data/Data.cs#L178

csharp
RecurrenceInfo recInfo = new RecurrenceInfo();
recInfo.Start = pattern.StartTime;
recInfo.End = pattern.EndTime.AddDays(dayCount);

wpf-scheduler-highlight-time-intervals/CS/SchedulerCellTemplate/MainWindow.xaml.cs#L55

csharp
info.FromXml(region.RecurrenceInfo);
info.Start = info.Start.Date.AddTicks(region.Start.TimeOfDay.Ticks);
region.RecurrenceInfo = info.ToXml();

wpf-scheduler-obtain-selected-appointment-resource-and-time-interval/VB/DXSchedulerSelection/Model/SportChannels.vb#L138

vb
Dim recInfo As RecurrenceInfo = New RecurrenceInfo()
recInfo.Start = pattern.StartTime
recInfo.End = pattern.EndTime.AddDays(dayCount)

wpf-scheduler-add-datenavigator-and-resourcetree-controls/VB/DXSample/Data/Data.vb#L304

vb
Dim recInfo As RecurrenceInfo = New RecurrenceInfo()
recInfo.Start = pattern.StartTime
recInfo.End = pattern.EndTime.AddDays(dayCount)

wpf-scheduler-customize-context-menus/VB/DXScheduler_PopUpMenuCustomization/Model/SportChannels.vb#L138

vb
Dim recInfo As RecurrenceInfo = New RecurrenceInfo()
recInfo.Start = pattern.StartTime
recInfo.End = pattern.EndTime.AddDays(dayCount)

wpf-scheduler-disable-resource-colorization/VB/DXSample/Data/Data.vb#L304

vb
Dim recInfo As RecurrenceInfo = New RecurrenceInfo()
recInfo.Start = pattern.StartTime
recInfo.End = pattern.EndTime.AddDays(dayCount)

wpf-scheduler-highlight-time-intervals/VB/SchedulerCellTemplate/MainWindow.xaml.vb#L71

vb
info.FromXml(region.RecurrenceInfo)
info.Start = info.Start.Date.AddTicks(region.Start.TimeOfDay.Ticks)
region.RecurrenceInfo = info.ToXml()

Implements

Start

See Also

Range

End

OccurrenceCount

RecurrenceInfo Class

RecurrenceInfo Members

DevExpress.XtraScheduler Namespace