New to Telerik UI for WinForms? Start a free 30-day trial

Provides the operations the scheduler uses to materialize, enumerate, and remove recurrence-exception data items.

Definition

Namespace:Telerik.WinControls.UI.Scheduler

Assembly:Telerik.WinControls.Scheduler.dll

Syntax:

C#
public interface IExceptionMapper

Methods

Adds a populated exception item when the mapper's collection strategy requires a separate insertion step.

C#
void AddException(object exceptionItem)
Parameters:exceptionItemobject

The exception data item to add.

Creates an exception item for the scheduler to populate.

C#
object AddNew()
Returns:

object

The new item, or null if the mapper cannot create one. A binding-list mapper may add the item to its collection as part of this call; other mappers can require a later call to AddException(object).

Removes an exception item from the assigned collection when that collection permits removal.

C#
void DeleteException(object exceptionItem)
Parameters:exceptionItemobject

The exception data item to remove.

Gets the exception items in the currently assigned collection.

C#
IEnumerable GetExceptions()
Returns:

IEnumerable

The assigned collection as an enumerable, or null before a collection is assigned.

Assigns the source collection that subsequent mapper operations use.

C#
void SetExceptionList(object exceptionList)
Parameters:exceptionListobject

The collection containing the event's recurrence exceptions.