MobileForms Toolkit Documentation

ItemNumeric Class

Item that implements NumericUpDown control.

For a list of all members of this type, see ItemNumeric Members.

System.Object
   Resco.Controls.DetailView.Item
      Resco.Controls.DetailView.ItemNumeric

public class ItemNumeric : Item

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

This class is derived from Item object. It provide NumericUpDown control.

ItemNumeric is limited to range of Minimum to Maximum values. It is usable for faster user input of the smaller numeric values from given interval. You can set the Increment property to control the granularity of the possible values. You can control the precision of the number with the DecimalPlaces property. The mantisa part of the values is limited by the CompactFramework's NumericUpDown control to 16 bits only so you can use numbers from interval (-2^{15} * 10^{-d}, 2^{15} * 10^{-d}).

If you want to use larger numeric values (or phone numbers, etc.) you can use ItemTextBox and its DisplayFormat property to display the number and ItemValidating event to check if user input is correct.

Requirements

Namespace: Resco.Controls.DetailView

Assembly: Resco.DetailView.CF3 (in Resco.DetailView.CF3.dll)

See Also

ItemNumeric Members | Resco.Controls.DetailView Namespace