Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

RichEditControl.IsImeWindowOpen() Method

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

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.XtraRichEdit.v24.2.dll

NuGet Package: DevExpress.Win.RichEdit

#Declaration

public bool IsImeWindowOpen()

#Returns

Type Description
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