Class MappingInfo
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.Scheduler.dll
Syntax
public class MappingInfo : IMappingInfo, IEnumerable<SchedulerMapping>, IEnumerable
Constructors
MappingInfo()
Declaration
public MappingInfo()
Properties
Mappings
Indicates how data source items map their properties to the RadScheduler items properties. Returns a list of SchedulerMapping instances that contain the mappings.
Declaration
public List<SchedulerMapping> Mappings { get; }
Property Value
System.Collections.Generic.List<SchedulerMapping>
|
UniqueIdToDataSourceCallback
Declaration
protected ConvertCallback UniqueIdToDataSourceCallback { get; }
Property Value
ConvertCallback
|
UniqueIdToSchedulerCallback
Declaration
protected ConvertCallback UniqueIdToSchedulerCallback { get; }
Property Value
ConvertCallback
|
Methods
FindByDataSourceProperty(String)
Declaration
public SchedulerMapping FindByDataSourceProperty(string dataSourceProperty)
Parameters
System.String
dataSourceProperty
|
Returns
SchedulerMapping
|
Implements
FindBySchedulerProperty(String)
Declaration
public SchedulerMapping FindBySchedulerProperty(string schedulerProperty)
Parameters
System.String
schedulerProperty
|
Returns
SchedulerMapping
|
Implements
GetValue(String)
Gets the property name of an item from the data store that corresponds to a property name of an item in RadScheduler.
Declaration
public string GetValue(string key)
Parameters
System.String
key
The name of the property of the item inside RadScheduler. |
Returns
System.String
The name of the property of the item inside the data store. |
LoadFrom(String)
Loads the Mappings list from an CSV file given its file name or path.
Declaration
public void LoadFrom(string filePath)
Parameters
System.String
filePath
The name or path of the CSV file that contains mappings definitions. |
LoadFrom(String[,])
Loads the Mappings list from a 2-dimentional array.
Declaration
public void LoadFrom(string[, ] array)
Parameters
System.String[,]
array
a 2-dimentional array that contains the Mappings pairs. |
SetValue(String, String)
Sets the property name of an item from the data store that corresponds to a property name of an item in RadScheduler.
Declaration
public SchedulerMapping SetValue(string key, string value)
Parameters
System.String
key
The name of the property of the item inside RadScheduler. |
System.String
value
The name of the property of the item inside the data store. |
Returns
SchedulerMapping
|
Explicit Interface Implementations
IEnumerable<SchedulerMapping>.GetEnumerator()
Declaration
IEnumerator<SchedulerMapping> IEnumerable<SchedulerMapping>.GetEnumerator()
Returns
System.Collections.Generic.IEnumerator<SchedulerMapping>
|
Implements
IEnumerable.GetEnumerator()
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
System.Collections.IEnumerator
|