Provides inserted text and the IME composition state used by the document input handler.
Definition
Namespace:Telerik.WinForms.Documents.UI
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
C#
public class TextInsertedEventArgs : EventArgs
Inheritance: objectEventArgsTextInsertedEventArgs
Inherited Members
Constructors
Initializes event data for inserted text and its composition state.
C#
public TextInsertedEventArgs(string text, bool shouldPersist, bool shouldStartNewComposition)
The text reported by the input source; an empty string can signal cancellation of an uncommitted composition.
shouldPersistbooltrue when the current composition should be committed to the document history.
shouldStartNewCompositionbooltrue when the text starts a new IME composition.
Properties
Gets whether the current IME composition should be committed.
C#
public bool ShouldPersist { get; }
Gets whether the reported text starts a new IME composition.
C#
public bool ShouldStartNewComposition { get; }