Skip to main content
A newer version of this page is available. .

RepositoryItemSpinEdit.IsFloatValue Property

Gets or sets whether the editor’s value is of the Decimal or Integer type.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v18.2.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’s value is of the Decimal type; false if the editor’s value is of the Integer type.

Remarks

If the IsFloatValue property is set to false, the editor’s increment value is rounded to the nearest integer before it is added to or subtracted from the editor’s value. The increment value is specified by the RepositoryItemSpinEdit.Increment property.

The following code snippets (auto-collected from DevExpress Examples) contain references to the IsFloatValue property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also