Back to Devexpress

NumericEdit.MaxDecimalDigitCount Property

maui-devexpress-dot-maui-dot-editors-dot-numericedit-28ba61b1.md

latest1.3 KB
Original Source

NumericEdit.MaxDecimalDigitCount Property

Gets or set the maximum number of digits after the decimal separator. This is a bindable property.

Namespace : DevExpress.Maui.Editors

Assembly : DevExpress.Maui.Editors.dll

NuGet Package : DevExpress.Maui.Editors

Declaration

csharp
public int MaxDecimalDigitCount { get; set; }

Property Value

TypeDefaultDescription
Int32-1

The maximum number of digits displayed after the decimal separator.

|

Remarks

Use the MaxDecimalDigitCount property to specify how many digits after the decimal separator the editor can display and users can input. For example, you can set this property to 0 to not insert a decimal separator:

xaml
<dxe:NumericEdit x:Name="numericEdit" MaxDecimalDigitCount="0"/>
csharp
numericEdit.MaxDecimalDigitCount = 0;

See Also

NumericEdit Class

NumericEdit Members

DevExpress.Maui.Editors Namespace