Click or drag to resize

Locale Properties

The Locale type exposes the following members.

Properties
  NameDescription
Public propertyCultureInfo
Gets or sets the culture used for the localization. Default is CurrentCulture in Windows desktop and the UI language in UWP
Public propertyItemObject
Gets the localized string with an object as a key

If the key is an enum the returned formatting will be: enum value - enum name

Int64, Int32, UInt32 and UInt64 are formatted using {0:#,#}.

Double, Single and Decimal are formatted using {0:#,#.00}.

Otherwise its tries to retrieve the localized string using the key's type name as key.

Public propertyItemString
Gets the localized string with the specified key

Returns null if the key was not found

Public propertyMissingLocalizationIndicator
Gets or sets a value that indicates if a localization for the given key is missing.
Top
See Also