Gets or sets the recurrence pattern of this item.
Namespace: MindFusion.Scheduling
Assembly: MindFusion.Scheduling.Silverlight
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 (Nothing in Visual Basic).
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 (Nothing in Visual Basic).
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 |