Share via


CoreTextServicesManager Class

Definition

The entry point to all services provided by the Windows core text APIs and the text input server. This object is associated with an application's UI thread (the thread that CoreWindow runs on).

public ref class CoreTextServicesManager sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class CoreTextServicesManager final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class CoreTextServicesManager
Public NotInheritable Class CoreTextServicesManager
Inheritance
Object Platform::Object IInspectable CoreTextServicesManager
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Remarks

To obtain an object of this type, call CoreTextServicesManager.GetForCurrentView.

Properties

InputLanguage

Gets a Language object representing the current input language.

Methods

CreateEditContext()

Creates a context object used by a text input control to communicate with the text input server. Each text input control must create its own context object.

GetForCurrentView()

Gets the CoreTextServicesManager object for the currently active view.

Events

InputLanguageChanged

Occurs when the current input language has changed.

Applies to