Table of Contents

Class TextValidateField

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

Text field that validates input through a ITextValidateProvider

public class TextValidateField : View, IDisposable, ISupportInitializeNotification, ISupportInitialize
Inheritance
TextValidateField
Implements
Inherited Members

Constructors

TextValidateField()

Initializes a new instance of the TextValidateField class using Computed positioning.

TextValidateField(ITextValidateProvider)

Initializes a new instance of the TextValidateField class using Computed positioning.

Properties

IsValid

This property returns true if the input is valid.

Provider

Provider

Text

Text

Methods

MouseEvent(MouseEvent)

Method invoked when a mouse event is generated

PositionCursor()

Positions the cursor in the right position based on the currently focused view in the chain.

ProcessKey(KeyEvent)

If the view is focused, gives the view a chance to process the keystroke.

Redraw(Rect)

Redraws this view and its subviews; only redraws the views that have been flagged for a re-display.