Table of Contents

Class RangeFieldViewModel

Namespace
Dynamicweb.Ecommerce.ProductCatalog
Assembly
Dynamicweb.Ecommerce.dll

Represents the value of a Range field, carrying both the from (minimum) and to (maximum) endpoints with their converted amounts, unit symbols, and ready-to-display names.

public sealed class RangeFieldViewModel : ViewModelBase
Inheritance
RangeFieldViewModel
Inherited Members
Extension Methods

Remarks

This type is used as the Value when Type is "Range". Use IsRange(FieldValueViewModel) to detect range fields and GetRange(FieldValueViewModel) to retrieve the value safely.

Properties

From

Gets or sets the from (minimum) endpoint of the range.

public RangeEndpointViewModel From { get; set; }

Property Value

RangeEndpointViewModel

To

Gets or sets the to (maximum) endpoint of the range.

public RangeEndpointViewModel To { get; set; }

Property Value

RangeEndpointViewModel

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.

To top