TextChangeSource

ReferencesSince v2.12
public enum TextChangeSource
Identifies what initiated a text change in events such as TextBox.TextChanging.

Enum values

NameValueDescription
Unknown0The change came from the user, but the specific origin could not be determined by the platform.
Programmatic1The change was made programmatically, e.g. by setting the TextControl.Text property.
Keyboard2The user typed the change using the keyboard.
Composition3The change was committed by an input method / text composition (IME), e.g. dead keys or CJK input.
Paste4The change was a paste from the clipboard.
Cut5The change was a cut to the clipboard (the selected text is removed).