Click or drag to resize

CultureSettings Class

Manages the settings for a culture, i.e. number and DateTime formats etc.
Inheritance Hierarchy
SystemObject
  Altaxo.SettingsCultureSettings

Namespace: Altaxo.Settings
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public class CultureSettings : ICopyFrom, 
	ICloneable

The CultureSettings type exposes the following members.

Constructors
 NameDescription
Protected methodCultureSettingsInitializes a new instance of the CultureSettings class with nothing initialized.
Public methodCultureSettings(CultureInfo) Initializes a new instance of the CultureSettings class.
Protected methodCultureSettings(CultureSettings)Copies from another instance.
Top
Properties
 NameDescription
Public propertyCulture Gets the culture info represented by this instance.
Public propertyCultureID Gets the culture identifier.
Public propertyCultureNameGets or sets the name of the culture.
Public propertyNeutralCultureNameGets the neutral name of the culture, i.e. without region identifier..
Public propertyNumberDecimalSeparatorGets or sets the number decimal separator.
Public propertyNumberGroupSeparatorGets or sets the number group separator.
Top
Methods
 NameDescription
Public methodStatic memberApplyDocumentCulture Applies the document culture settings.
Public methodStatic memberApplyUICulture Applies the UI culture settings.
Public methodClone Creates a copy of this instance.
Public methodCopyFrom Try to copy from another object. Should try to copy even if the object to copy from is not of the same type, but a base type. In this case only the base properties should be copied.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodSetCachedCultureInfoAssembles the members of this instance to a resulting culture.
Public methodToString Returns a string representation of the culture settings.
(Overrides ObjectToString)
Top
Fields
 NameDescription
Protected field_cachedCultureAsReadOnly The cached culture as a read-only CultureInfo.
Protected field_cultureIDValue that uniquely identifies a culture.
Protected field_cultureNameGets or sets the name of the culture (with region identifier).
Protected field_numberDecimalSeparatorGets or sets the number decimal separator.
Protected field_numberGroupSeparatorGets or sets the number group separator.
Protected fieldStatic memberInvariantCultureID The invariant culture identifier.
Public fieldStatic memberPropertyKeyDocumentCulture Gets the property key for the document culture.
Public fieldStatic memberPropertyKeyUICulture Gets the property key for the UI culture.
Top
See Also