Initializes a new instance of the StringConverter class.

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

Syntax

C#
public StringConverter(
	string formatString,
	string prefix,
	string suffix,
	IFormatProvider formatProvider
)
Visual Basic
Public Sub New ( 
	formatString As String,
	prefix As String,
	suffix As String,
	formatProvider As IFormatProvider
)
Visual C++
public:
StringConverter(
	String^ formatString, 
	String^ prefix, 
	String^ suffix, 
	IFormatProvider^ formatProvider
)
F#
new : 
        formatString : string * 
        prefix : string * 
        suffix : string * 
        formatProvider : IFormatProvider -> StringConverter

Parameters

formatString
Type: System..::..String
The string format, passed to the Format(String, array<Object>[]()[][]) method. See MSDN library for more details.
prefix
Type: System..::..String
The prefix that is added before the formatted string.
suffix
Type: System..::..String
The suffix that is added after the formatted string.
formatProvider
Type: System..::..IFormatProvider
The formatString provider.

See Also