PropertyNumericRangeAttribute

Attribute
Assign this attribute to properties of type byte, int, float, double or decimal to specify what sort of numeric slider range is supposed to be associated with it.

Constructors

PropertyNumericRangeAttribute

#
public PropertyNumericRangeAttribute(double lower, double upper, int decimals)
Create a new numeric range attribute.
lower (double)Lower range limit.
upper (double)Upper range limit.
decimals (int)Number of decimals.

Properties

Range

#
public UiNumber Range { get; }
Gets the numeric range associated with this attribute.