ImeTextComposition Class
Represents a text composition generated by the IME processing of the ITextView.
Inheritance Hierarchy
System.Object
System.Windows.Threading.DispatcherObject
System.Windows.Input.TextComposition
Microsoft.VisualStudio.Text.Editor.ImeTextComposition
Namespace: Microsoft.VisualStudio.Text.Editor
Assembly: Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)
Syntax
'Déclaration
Public Class ImeTextComposition _
Inherits TextComposition
public class ImeTextComposition : TextComposition
public ref class ImeTextComposition : public TextComposition
type ImeTextComposition =
class
inherit TextComposition
end
public class ImeTextComposition extends TextComposition
The ImeTextComposition type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ImeTextComposition | Initializes a new instance of ImeTextComposition. |
Top
Properties
Name | Description | |
---|---|---|
AutoComplete | Gets the auto-complete setting for this text composition. (Inherited from TextComposition.) | |
CompositionText | Gets or sets the composition text for this text composition. (Inherited from TextComposition.) | |
ControlText | Gets or sets any control text associated with this text composition. (Inherited from TextComposition.) | |
Dispatcher | Gets the Dispatcher this DispatcherObject is associated with. (Inherited from DispatcherObject.) | |
SystemCompositionText | Gets or sets the system composition text for this text composition. (Inherited from TextComposition.) | |
SystemText | Gets or sets the system text for this text composition. (Inherited from TextComposition.) | |
Text | Gets or sets the current text for this text composition. (Inherited from TextComposition.) |
Top
Methods
Name | Description | |
---|---|---|
CheckAccess | Determines whether the calling thread has access to this DispatcherObject. (Inherited from DispatcherObject.) | |
Complete | Security Critical. Completes this text composition. (Inherited from TextComposition.) | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
VerifyAccess | Enforces that the calling thread has access to this DispatcherObject. (Inherited from DispatcherObject.) |
Top
Remarks
The ITextView does its own handling and raises the appropriate TextComposition events. The TextComposition property of all events raised by the IME handling can be cast to ImeTextComposition.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.