RepositoryItemCalcEdit.Precision Property
Gets or sets the maximum number of digits displayed to the right of the decimal point when the dropdown is open.
Namespace: DevExpress.XtraEditors.Repository
Assembly: DevExpress.XtraEditors.v24.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
Property Value
Type | Default | Description |
---|---|---|
Int32 | 6 | The maximum number of digits displayed in the fractional part of the value. |
Remarks
The Precision property specifies the maximum number of digits displayed to the right of the decimal point when the dropdown calculator is open. An end-user cannot enter values using the dropdown calculator with a fractional part longer than the value specified by the Precision property.
When the calculator is closed and focused, the value is formatted depending upon the mask specified by the RepositoryItemCalcEdit.EditMask property. This can be used to specify the number of digits in the fractional part.
RepositoryItem.DisplayFormat specifies the format used to represent the edit value when the editor is not focused.