RangeMapper
Class
Base class that maps item indices onto a fixed-size collection, supporting circular (looping) or restricted (clamped) index arithmetic used by the carousel's virtualization.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
C#
public abstract class RangeMapper
Inheritance: objectRangeMapper
Derived Classes:
Constructors
C#
protected RangeMapper()
Properties
Gets or sets the total number of items the mapper wraps or clamps indices against.
C#
public int ItemsCount { get; set; }
Methods
Adjusts the specified index so it falls within the given range, wrapping by multiples of ItemsCount if needed.
Adjusts the specified range so its bounds are consistent with ItemsCount.