Annotation Pro API
Public Types | Public Member Functions | Protected Member Functions | Properties | List of all members
ValidatorTextBox Class Reference

A validator text box. More...

Inherits Component.

Public Types

enum  FormatType
 Values that represent FormatType. Values: String, Interger, Double, Decimal, Folder, File More...
 

Public Member Functions

 ValidatorTextBox ()
 Default constructor. More...
 
 ValidatorTextBox (IContainer container)
 Constructor. More...
 
void ShowToolTip (string info)
 Shows the tool tip. More...
 
bool Validate ()
 Validates this object. More...
 
bool ValidateWithWarning ()
 Validates the with warning. More...
 

Protected Member Functions

override void Dispose (bool disposing)
 Clean up any resources being used. More...
 

Properties

bool CheckCorrectFormat [get, set]
 Gets or sets a value indicating whether the check correct format. More...
 
bool CheckNotEmpty [get, set]
 Gets or sets a value indicating whether the check not empty. More...
 
string Message [get, set]
 Gets or sets the message. More...
 
TextBox TextBox [get, set]
 Gets or sets the text box. More...
 
ToolTip ToolTip [get, set]
 Gets or sets the tool tip. More...
 
FormatType Type [get, set]
 Gets or sets the type. More...
 

Detailed Description

A validator text box.

Member Enumeration Documentation

◆ FormatType

enum FormatType
strong

Values that represent FormatType. Values: String, Interger, Double, Decimal, Folder, File

Constructor & Destructor Documentation

◆ ValidatorTextBox() [1/2]

ValidatorTextBox ( )
inline

Default constructor.

◆ ValidatorTextBox() [2/2]

ValidatorTextBox ( IContainer  container)
inline

Constructor.

Parameters
containerThe container.

Member Function Documentation

◆ Dispose()

override void Dispose ( bool  disposing)
inlineprotected

Clean up any resources being used.

Parameters
disposingtrue if managed resources should be disposed; otherwise, false.

◆ ShowToolTip()

void ShowToolTip ( string  info)
inline

Shows the tool tip.

Parameters
infoThe information.

◆ Validate()

bool Validate ( )
inline

Validates this object.

Returns
true if it succeeds, false if it fails.

◆ ValidateWithWarning()

bool ValidateWithWarning ( )
inline

Validates the with warning.

Returns
true if it succeeds, false if it fails.

Property Documentation

◆ CheckCorrectFormat

bool CheckCorrectFormat
getset

Gets or sets a value indicating whether the check correct format.

true if check correct format, false if not.

◆ CheckNotEmpty

bool CheckNotEmpty
getset

Gets or sets a value indicating whether the check not empty.

true if check not empty, false if not.

◆ Message

string Message
getset

Gets or sets the message.

The message.

◆ TextBox

TextBox TextBox
getset

Gets or sets the text box.

The text box.

◆ ToolTip

ToolTip ToolTip
getset

Gets or sets the tool tip.

The tool tip.

◆ Type

FormatType Type
getset

Gets or sets the type.

The type.


The documentation for this class was generated from the following files: