Class TextChangingEventArgs
An EventArgs which allows passing a cancelable new text value event.
Inherited Members
Namespace: Terminal.Gui
Assembly: Terminal.Gui.dll
Syntax
public class TextChangingEventArgs : EventArgs
Constructors
| Edit this page View SourceTextChangingEventArgs(ustring)
Initializes a new instance of TextChangingEventArgs
Declaration
public TextChangingEventArgs(ustring newText)
Parameters
| Type | Name | Description |
|---|---|---|
| ustring | newText | The new Text to be replaced. |
Properties
| Edit this page View SourceCancel
Flag which allows to cancel the new text value.
Declaration
public bool Cancel { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
NewText
The new text to be replaced.
Declaration
public ustring NewText { get; set; }
Property Value
| Type | Description |
|---|---|
| ustring |