Class InputLanguageManager
Implements input language specific features
Inheritance
System.Object
InputLanguageManager
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: EmptyKeys.UserInterface.Input
Assembly: EmptyKeys.UserInterface.dll
Syntax
public sealed class InputLanguageManager
Properties
Current
Gets the current instance
Declaration
public static InputLanguageManager Current { get; }
Property Value
| Type | Description |
|---|---|
| InputLanguageManager | The current instance |
CurrentInputLanguage
Gets or sets the current input language.
Declaration
public CultureInfo CurrentInputLanguage { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Globalization.CultureInfo | The current input language. |
Methods
AddKeyboardLayout(KeyboardLayout, CultureInfo)
Adds the keyboard layout.
Declaration
public void AddKeyboardLayout(KeyboardLayout layout, CultureInfo cultureInfo)
Parameters
| Type | Name | Description |
|---|---|---|
| KeyboardLayout | layout | The layout. |
| System.Globalization.CultureInfo | cultureInfo | The culture information. |
GetCurrentKeyboardLayout()
Gets the current keyboard layout.
Declaration
public KeyboardLayout GetCurrentKeyboardLayout()
Returns
| Type | Description |
|---|---|
| KeyboardLayout |
RemoveKeyboardLayout(CultureInfo)
Removes the keyboard layout.
Declaration
public void RemoveKeyboardLayout(CultureInfo cultureInfo)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Globalization.CultureInfo | cultureInfo | The culture information. |