Edit

Share via


FrameworkRichTextComposition Class

Definition

Represents a composition related to text input. You can use this class to find the text position of the composition or the result string.

public ref class FrameworkRichTextComposition sealed : System::Windows::Documents::FrameworkTextComposition
public sealed class FrameworkRichTextComposition : System.Windows.Documents.FrameworkTextComposition
type FrameworkRichTextComposition = class
    inherit FrameworkTextComposition
Public NotInheritable Class FrameworkRichTextComposition
Inherits FrameworkTextComposition
Inheritance

Remarks

This class is used for parameters of text input events (i.e. TextInputStart, TextInputUpdate, etc) on RichTextBox.

Properties

AutoComplete

Gets the auto-complete setting for this text composition.

(Inherited from TextComposition)
CompositionEnd

Gets the end position of the current composition text.

CompositionLength

Gets the length of the current composition in Unicode symbols.

(Inherited from FrameworkTextComposition)
CompositionOffset

Gets the position at which the composition text occurs in the TextBox.

(Inherited from FrameworkTextComposition)
CompositionStart

Gets the start position of the current composition text.

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)
ResultEnd

Gets the end position of the result text of the text input.

ResultLength

Gets the length of the finalized text in Unicode symbols when the TextInput event occurs.

(Inherited from FrameworkTextComposition)
ResultOffset

Gets the offset of the finalized text when the TextInput event occurs.

(Inherited from FrameworkTextComposition)
ResultStart

Gets the start position of the result text of the text input.

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)

Methods

CheckAccess()

Determines whether the calling thread has access to this DispatcherObject.

(Inherited from DispatcherObject)
Complete()

Finalizes the composition.

(Inherited from FrameworkTextComposition)
Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(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)

Applies to

See also