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.

Properties

IsValid

This property returns true if the input is valid.

Provider

Provider

Text

Text

Methods

OnDrawingContent()

Called when the View's content is to be drawn. The default implementation does nothing.

OnKeyDownNotHandled(Key)

Called when the user has pressed key it wasn't handled by KeyDown and was not bound to a key binding.

OnMouseEvent(MouseEventArgs)

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

PositionCursor()

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