Table of Contents

Class ValueConversion

Namespace
Dynamicweb.CoreUI.Editors.Inputs
Assembly
Dynamicweb.CoreUI.dll
public sealed class ValueConversion : Number
Inheritance
ValueConversion
Inherited Members
Extension Methods

Properties

Decimals

public int Decimals { get; set; }

Property Value

int

PresetUnit

public string PresetUnit { get; set; }

Property Value

string

UnitReadonly

When true, the unit dropdown is shown but disabled — the field's unit is displayed read-only without gating the numeric input itself (see Readonly, which disables both).

public bool UnitReadonly { get; set; }

Property Value

bool

Units

public IList<ValueConversionUnit> Units { get; }

Property Value

IList<ValueConversionUnit>

Methods

AddUnit(string, double)

public void AddUnit(string label, double factor)

Parameters

label string
factor double
To top