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

Represents a bounded interval that can test containment and convert an absolute value into a normalized 0-1 position within the interval.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public interface ValueMapper.MapperRange

Properties

Gets the lower bound of the range.

C#
double From { get; }

Gets the span between From and To.

C#
double Length { get; }

Gets the fixed value associated with this range when it is used as a single-point mapping target, or NaN if none was set.

C#
double MappedValue { get; }

Gets the upper bound of the range.

C#
double To { get; }

Methods

Determines whether the specified value falls within this range's bounds.

C#
bool InRange(double value)
Parameters:valuedoubleReturns:

bool

Converts an absolute value into a 0-1 position relative to this range, wrapping the result if it falls outside the range.

C#
double MapToUnit(double value)
Parameters:valuedoubleReturns:

double