skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class MappingInfo

Inheritance
System.Object
MappingInfo
AppointmentMappingInfo
ResourceMappingInfo
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.Scheduler.dll

Syntax

public class MappingInfo : IMappingInfo, IEnumerable<SchedulerMapping>, IEnumerable

Constructors

MappingInfo()

Declaration
public MappingInfo()

Properties

Mappings

Gets the collection of property mappings that define how data source item properties correspond to RadScheduler item properties.

Declaration
public List<SchedulerMapping> Mappings { get; }
Property Value
System.Collections.Generic.List<SchedulerMapping>

UniqueIdToDataSourceCallback

Gets a callback delegate that converts a scheduler unique identifier to a data source value by extracting the key value from an EventId instance.

Declaration
protected ConvertCallback UniqueIdToDataSourceCallback { get; }
Property Value
ConvertCallback

UniqueIdToSchedulerCallback

Gets a callback delegate that converts a data source value to a scheduler unique identifier by wrapping values in EventId instances.

Declaration
protected ConvertCallback UniqueIdToSchedulerCallback { get; }
Property Value
ConvertCallback

Methods

FindByDataSourceProperty(String)

Finds a property mapping by the data source property name.

Declaration
public SchedulerMapping FindByDataSourceProperty(string dataSourceProperty)
Parameters
System.String dataSourceProperty

The name of the data source property to search for.

Returns
SchedulerMapping

The SchedulerMapping instance if found; otherwise, null.

Implements
IMappingInfo.FindByDataSourceProperty(String)

FindBySchedulerProperty(String)

Finds a property mapping by the scheduler property name.

Declaration
public SchedulerMapping FindBySchedulerProperty(string schedulerProperty)
Parameters
System.String schedulerProperty

The name of the scheduler property to search for.

Returns
SchedulerMapping

The SchedulerMapping instance if found; otherwise, null.

Implements
IMappingInfo.FindBySchedulerProperty(String)

GetValue(String)

This method is not relevant for this class.

Declaration
public string GetValue(string key)
Parameters
System.String key

The scheduler property name to look up.

Returns
System.String

The corresponding data source property name or an empty string if no mapping is found.

LoadFrom(String)

Loads property mappings from a CSV file where each line contains a scheduler property name and corresponding data source property name separated by a comma.

Declaration
public void LoadFrom(string filePath)
Parameters
System.String filePath

The file path to the CSV file containing mapping definitions in the format "SchedulerProperty,DataSourceProperty".

LoadFrom(String[,])

Loads property mappings from a two-dimensional string array where each row contains a scheduler property name and corresponding data source property name.

Declaration
public void LoadFrom(string[, ] array)
Parameters
System.String[,] array

A two-dimensional array where the first column contains scheduler property names and the second column contains data source property names.

SetValue(String, String)

This method is not relevant for this class.

Declaration
public SchedulerMapping SetValue(string key, string value)
Parameters
System.String key

The scheduler property name to map.

System.String value

The data source property name to associate with the scheduler property.

Returns
SchedulerMapping

The SchedulerMapping instance that was updated or created.

Explicit Interface Implementations

IEnumerable<SchedulerMapping>.GetEnumerator()

Returns an enumerator that iterates through the collection of SchedulerMapping instances.

Declaration
IEnumerator<SchedulerMapping> IEnumerable<SchedulerMapping>.GetEnumerator()
Returns
System.Collections.Generic.IEnumerator<SchedulerMapping>

An enumerator for the mappings collection.

Implements
System.Collections.Generic.IEnumerable<T>.GetEnumerator()

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through the collection of SchedulerMapping instances.

Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
System.Collections.IEnumerator

An enumerator for the mappings collection.

Implements
System.Collections.IEnumerable.GetEnumerator()

Extension Methods

CommonExtensions.ContainsAny<T>(IEnumerable<T>, IEnumerable<T>)
CommonExtensions.ForEach<T>(IEnumerable<T>, Action<T>)
CommonExtensions.Clone<T>(IEnumerable<T>)
ExtensionMethodsEditor.CastCovariant<TFrom, TTo>(IEnumerable<TFrom>)
SvgExtentions.Traverse<T>(IEnumerable<T>, Func<T, IEnumerable<T>>)
SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(IEnumerable<T>, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)
Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.