New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

Definition

Namespace:Telerik.Web.UI

Inheritance: Telerik.Web.UI.ResourceStyleMappingCollection

Methods

Adds the specified resource style mapping to the collection.

JS
add(Telerik.Web.UI.ResourceStyleMapping mapping): void
Parameters:mappingTelerik.Web.UI.ResourceStyleMapping

The resource style mapping to add.

Executes the specified function for each resource style mapping in the collection. The resource style mapping is passed as first argument to the function.

JS
forEach(Function lambda): void
Parameters:lambdaFunction

The function to execute for each resource style mapping in the collection. For example function

Gets the number of resource style mappings in the collection.

JS
get_count(): Number
Returns:

Number

The number of resource style mappings in the collection.

Gets a collection of all resource style mapping matching the specified resource.

JS
getMatchingClasses(Telerik.Web.UI.SchedulerResource resource): Array
Parameters:resourceTelerik.Web.UI.SchedulerResource

The resource to look for

Returns:

Array

An array of all matching resource style mappings

Gets the resource style mapping at the specified index in the collection.

JS
getStyleMapping(Number index): Telerik.Web.UI.ResourceStyleMapping
Parameters:indexNumber

The index from which to retrieve the resource style mapping

Returns:

Telerik.Web.UI.ResourceStyleMapping

The resource style mapping at the specified index.

Not finding the help you need?
Contact Support