Click or drag to resize

TextChangingEventArgs Class

Arguments for events that handle when text is about to change, such as the TextChanging event.
Inheritance Hierarchy

Namespace:  Eto.Forms
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public class TextChangingEventArgs : CancelEventArgs

The TextChangingEventArgs type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyFromUser
Gets a value indicating that the change was initiated by the user, false
Public propertyNewText
Gets the new text the control will contain after the change.
Public propertyOldText
Gets the entire old text for the control.
Public propertyRange
Gets the range that the text will be replaced or deleted.
Public propertyText
Gets the text that is to be inserted at the given Range, or string.Empty if text will be deleted.
Top
Remarks
To cancel the change, set the inherited Cancel property to true.
See Also