Initializes a new instance of the DoubleConverterAttribute class.

Namespace: Dapfor.Wpf.Converters
Assembly: Dapfor.Wpf (in Dapfor.Wpf.dll) Version: 4.1.0.26317 (4.1.0.26317)

Syntax

C#
public DoubleConverterAttribute(
	int precision,
	bool shortForm,
	bool showZero
)
Visual Basic
Public Sub New ( 
	precision As Integer,
	shortForm As Boolean,
	showZero As Boolean
)
Visual C++
public:
DoubleConverterAttribute(
	int precision, 
	bool shortForm, 
	bool showZero
)
F#
new : 
        precision : int * 
        shortForm : bool * 
        showZero : bool -> DoubleConverterAttribute

Parameters

precision
Type: System..::..Int32
The precision.
shortForm
Type: System..::..Boolean
if set to true the representation should be in the shortest possible form. (For ex. 1000000 is presented as 1M)
showZero
Type: System..::..Boolean
if set to true, the converter displays non-significant zero.

See Also