[]
        
(Showing Draft Content)

FarPoint.Win.SuperEdit.RegionalSettings

RegionalSettings Class

Represents the Regional Settings interface.

Inheritance
RegionalSettings
Namespace: FarPoint.Win.SuperEdit
Assembly: FarPoint.Win.dll
Syntax
public class RegionalSettings : IRegionalSettings, ICloneable
Public Class RegionalSettings
    Implements IRegionalSettings, ICloneable

Constructors

Name Description
RegionalSettings()

Creates a new set of regional settings.

RegionalSettings(IRegionalSettings)

Creates a new set of regional settings based on settings inherited from the specified parent interface.

RegionalSettings(RegionalSettings)

Creates a new set of regional settings by copying the specified object.

RegionalSettings(CultureInfo)

Creates a new set of regional settings based on culture-specific information from the specified CultureInfo object.

Fields

Name Description
defRgnSettings

Internal use only.

Properties

Name Description
AMDesignator

Gets or sets the string that indicates morning for 12-hour time format.

AbbreviatedDayNames

Gets or sets the array of abbreviated names of the days of the week.

AbbreviatedMonthNames

Gets or sets the array of abbreviated names of the months of the year.

Calendar

Gets or sets the calendar used for formatting DateTime values.

CultureInfoSetting

Gets or sets the culture-specific information.

CurrencyDecimalDigits

Gets or sets the number of digits in the decimal portion of a currency value.

CurrencyDecimalSeparator

Gets or sets the string used to separate the integer and decimal portions of a currency value.

CurrencyGroupSeparator

Gets or sets the character used to separate groups of digits in currency values.

CurrencyGroupSize

Gets or sets the number of digits by which to group currency values.

CurrencyNegativePattern

Gets or sets the format for negative currency values.

CurrencyPositivePattern

Gets or sets the format for positive currency values.

CurrencySymbol

Gets or sets the string to use as the currency symbol in currency values.

CurrentYear

Gets or sets the current year if the year is not specified in a date value.

DateSeparator

Gets or sets the string that separates the portions of a date value.

DateTimeFormat

Gets or sets the format for displaying dates and times using a DateTimeFormatInfo object.

DayNames

Gets or sets the array of names of the days of the week.

DecimalSeparator

Gets or sets the string used to separate the integer and decimal portions of a decimal value.

DefaultSettings

Gets or sets a copy of the default regional settings.

LongDateFormat

Gets or sets the string to format the long (non-abbreviated) date value when the DateTimeFormat property is set to LongDate or LongDateWithTime.

MonthNames

Gets or sets the array of names of the days of the week.

NegativeSign

Gets or sets the string to use as the negative sign in numeric values.

NumberDecimalDigits

Gets or sets the number of decimal places to display in numeric values.

NumberGroupSeparator

Gets or sets the character used to separate groups of digits in numeric values.

NumberGroupSize

Gets or sets the number of digits by which to group numeric values.

NumberLeadingZero

Gets or sets whether to display a leading zero in floating-point numbers.

NumberNegativePattern

Gets or sets how to format negative values.

PMDesignator

Gets or sets the string that indicates afternoon for 12-hour time format.

ParentRegionSettings

Gets or sets the parent regional settings.

PercentDecimalDigits

Gets or sets the number of digits in the decimal portion of a percent value.

PercentNegativePattern

Gets or sets the format for displaying negative percent values.

PercentPositivePattern

Gets or sets the format for displaying positive percent values.

PercentSign

Gets or sets the character to use as the percent symbol in numeric values.

PositiveSign

Gets or sets the string to use as the positive sign in numeric values.

PropertySet

Gets the property set as an array.

ShortDateFormat

Gets or sets the string to format the short (abbreviated) date value when the DateTimeFormat property is set to ShortDate or ShortDateWithTime.

TimeFormat

Gets or sets the format used to represent time values when the DateTimeFormat property is set to TimeOnly, LongDateWithTime, or ShortDateWithTime.

TimeSeparator

Gets or sets the string that separates the portions of a time value.

TwoDigitYearMax

Gets or sets the year value used to calculate the century for two-digit year values.

Methods

Name Description
Clone()

Creates and returns a set of regional settings that is a copy of the current instance.

FirstNonBlankChar(string, out char)

Returns the first non-blank character in the string, or else null.

IsAllBlanks(string)

Determines whether a string is all blanks.

IsDefined(object)

Queries the bit map to determine if a property has been set.

Reset(object)

Resets the bit map to false and frees any object that the property has created.

ResetAll()

Resets the entire bit map to false indicating that all properties are at their default state.

Set(object, bool)

Updates the bit map to indicate that a property has been set