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

Represents the simple binding between the property of an item from the data store and the property of an item from RadScheduler. The RadScheduler items are events, resources, etc.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.Scheduler.dll

Syntax:

C#
public class SchedulerMapping

Inheritance: objectSchedulerMapping

Constructors

Initializes a new instance of the SchedulerMapping class that simple-binds the indicated property of an item from RadScheduler to the specified item from the data store.

C#
public SchedulerMapping(string schedulerProperty, string dataSourceProperty)
Parameters:schedulerPropertystring

Property name of an item in RadScheduler.

dataSourcePropertystring

Property name of an item in the data store.

Fields

The callback that converts the given value object from a RadScheduler item to the specified type of the data store corresponding item.

C#
public ConvertCallback ConvertToDataSource

The callback that converts the given value object from the data store to the specified type of the RadScheduler corresponding item.

C#
public ConvertCallback ConvertToScheduler

Properties

Gets or sets the data store item property name that is mapped.

C#
public string DataSourceItemProperty { get; set; }

Gets or sets the RadScheduler item property name that is mapped.

C#
public string SchedulerItemProperty { get; set; }

Events

Occurs when a scheduler value is mapped to a data source item and no ConvertToDataSource callback is set. Handlers can replace the value before it is assigned to the data source.

C#
public event EventHandler<ConvertFromToSchedulerEventArgs> ConvertValueToDataSource

Occurs when a source value is mapped to a scheduler item and no ConvertToScheduler callback is set. Handlers can replace the value before it is assigned to the scheduler item.

C#
public event EventHandler<ConvertFromToSchedulerEventArgs> ConvertValueToScheduler