A newer version of this page is available. Switch to the current version.

RepositoryItemSpinEdit.IsFloatValue Property

Gets or sets whether the editor accepts decimal or integer numbers only.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v19.1.dll

Declaration

[DXCategory("Behavior")]
[DefaultValue(true)]
[SmartTagProperty("Allow Float Value", "", 0)]
public bool IsFloatValue { get; set; }

Property Value

Type Default Description
Boolean

true

true, if the editor accepts decimal numbers; otherwise, false

Remarks

The IsFloatValue property specifies whether the editor accepts decimal or integer numbers only.

If only integer numbers are accepted, the unit value (see Increment) is rounded to the nearest integer.

See Also