Back to Devexpress

RichEditControl.IsImeWindowOpen() Method

windowsforms-devexpress-dot-xtrarichedit-dot-richeditcontrol-a6e8c871.md

latest1.9 KB
Original Source

RichEditControl.IsImeWindowOpen() Method

Determines whether the Input Method Editor (IME) composition window is active.

Namespace : DevExpress.XtraRichEdit

Assembly : DevExpress.XtraRichEdit.v25.2.dll

NuGet Package : DevExpress.Win.RichEdit

Declaration

csharp
public bool IsImeWindowOpen()
vb
Public Function IsImeWindowOpen As Boolean

Returns

TypeDescription
Boolean

true if the IME window is open; otherwise, false.

|

Remarks

When the input method editor is active, it contains the composition string which may or may not be inserted into the document. At this moment, the contents of the document is ambiguous and should not be taken as is. Use the IsImeWindowOpen property to determine whether the IME input is incomplete, to prevent text-related commands from executing.

The RichEditControl.CloseImeWindow method forces the input method editor to finalize the composition and send the resulting string to the document (or cancel the input).

See Also

CloseImeWindow(ImeCloseStatus)

RichEditControl Class

RichEditControl Members

DevExpress.XtraRichEdit Namespace