MX-Frame Library Send comments on this topic.
IsFloating
See Also
MX-Developer > User Interface - MxPart > Controls > Control Properties > Design > IsFloating

Glossary Item Box

Defines whether the value of the control can be a decimal value.

Remarks

Property specifies if the value of the control can be a decimal value. If property is set to True, control can display decimal values. It is also possible to enter decimal values using up and down arrow buttons or by entering the value in the edit field.

If property is set to False, the values represented in the control cannot be decimal, only the whole part of the number is displayed. It is also not possible to enter decimal values. The number of decimal places is zero. The default value for this property is True.

Example (MxSpace)

To see the defined IsFloating property on a control (Numeric) open MxSpace solution project in Visual Studio. In Solution Explorer expand node Parts and double click StockPart.cs. Click the numeric control displaying the quantity in Editing section and open Property Window. See the value True defined in IsFloating property.

To define IsFloating property

  1. In Solution Explorer open MxPart component (StockPart) which contains control (Numeric).
  2. Select the desired control (Numeric - Quantity) on the canvas.
  3. Open Property Window.
  4. In section Design in IsFloating property select the desired value (True).

See Also

MxPart
Increment

©2009 Metronik. All Rights Reserved.