Gets or sets the recurrence pattern of this item.
Namespace: MindFusion.Scheduling
Assembly: MindFusion.Scheduling
C# Copy Code |
---|
public Recurrence Recurrence { get; set; } |
Visual Basic Copy Code |
---|
Public Property Recurrence As Recurrence |
An instance of the Recurrence class. The default is null.
If this property is set, the item becomes a recurring event and the Calendar control displays multiple occurrences of the item. To detach a previously set recurrence from an item, set this property to null.
The following example demonstrates how to create and attach a recurring pattern to an existing item. The example assumes that item identifies an existing Item object.
C# Copy Code |
---|
// Create the recurrence so that the item occurs once every two days |
Visual Basic Copy Code |
---|
' Create the recurrence so that the item occurs once every two days |