Gets or sets the default culture for all instances of the DoubleFormat class.

Namespace: Dapfor.Net.Formats
Assembly: Dapfor.Net (in Dapfor.Net.dll) Version: 2.10.3.24917 (2.10.3.24917)

Syntax

C#
public static IFormatProvider DefaultCulture { get; set; }
Visual Basic
Public Shared Property DefaultCulture As IFormatProvider
	Get
	Set
Visual C++
public:
static property IFormatProvider^ DefaultCulture {
	IFormatProvider^ get ();
	void set (IFormatProvider^ value);
}
F#
static member DefaultCulture : IFormatProvider with get, set

Property Value

Type: IFormatProvider
The default culture.

Examples

This example demonstrates how to set invariant culture as a default format provider for all instances of DoubleFormat class.
 Copy imageCopy
DoubleFormat.DefaultCulture = CultureInfo.InvariantCulture;

See Also