Version

MaxDecimalPlaces Property

Gets sets maximum number of decimal places used for text in control when it has no focus.
Syntax
'Declaration
 
Public Property MaxDecimalPlaces As Nullable(Of Integer)
public Nullable<int> MaxDecimalPlaces {get; set;}
Remarks

Notes:

In case of null, the setting for decimal places of Culture is used.

If MinDecimalPlaces is set to the larger value than that property, then MinDecimalPlaces has priority.

MaxDecimalPlaces of NumericEditorProvider supports values between 0 and 20 only.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also