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.

Properties

IsValid

This property returns true if the input is valid.

Provider

Provider

Text

Text

Methods

OnDrawContent(Rectangle)

Draws the view's content, including Subviews.

OnMouseEvent(MouseEvent)

Called when a mouse event occurs within the view's Viewport.

OnProcessKeyDown(Key)

Low-level API called when the user presses a key, allowing views do things during key down events. This is called from NewKeyDownEvent(Key) after OnInvokingKeyBindings(Key).

PositionCursor()

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