Class LanguageDisplaySettings
Used in DefaultDisplaySettings to control how languages are displayed to the users for the entire process.
Inheritance
System.Object
LanguageDisplaySettings
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Sdl.Core.Globalization
Assembly: Sdl.Core.Globalization.dll
Syntax
public sealed class LanguageDisplaySettings
Remarks
Attach to the SettingsChanged event to get notification when these settings change.
Properties
Format
Controls textual representation of languages in the user interface.
Declaration
public LanguageFormat Format { get; set; }
Property Value
Type | Description |
---|---|
LanguageFormat |
IncludeCountry
Controls whether the country should be included in the language description.
Declaration
public bool IncludeCountry { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
UseFlags
Controls whether country flags may be used when reprenting languages in the user interface.
Declaration
public bool UseFlags { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Events
SettingsChanged
Raised when any of the settings change.
Declaration
public event EventHandler SettingsChanged
Event Type
Type | Description |
---|---|
System.EventHandler |