C# Class MetroFramework.Controls.MetroTextBox

Inheritance: MetroControlBase
Show file Open project: AshishKilmist/MetroFramework Class Usage Examples

Private Properties

Property Type Description
AddEventHandler void
BaseTextBoxAcceptsTabChanged void
BaseTextBoxCausesValidationChanged void
BaseTextBoxChangeUiCues void
BaseTextBoxClick void
BaseTextBoxClientSizeChanged void
BaseTextBoxContextMenuChanged void
BaseTextBoxContextMenuStripChanged void
BaseTextBoxCursorChanged void
BaseTextBoxKeyDown void
BaseTextBoxKeyPress void
BaseTextBoxKeyUp void
BaseTextBoxSizeChanged void
BaseTextBoxTextChanged void
CreateBaseTextBox void
DrawIcon void
MetroTextBox_GotFocus void
UpdateBaseTextBox void

Public Methods

Method Description
AppendText ( string text ) : void
Clear ( ) : void
MetroTextBox ( ) : System
Refresh ( ) : void
Select ( int start, int length ) : void
SelectAll ( ) : void

Protected Methods

Method Description
OnCustomPaint ( MetroPaintEventArgs e ) : void
OnCustomPaintBackground ( MetroPaintEventArgs e ) : void
OnCustomPaintForeground ( MetroPaintEventArgs e ) : void
OnPaint ( PaintEventArgs e ) : void
OnPaintBackground ( PaintEventArgs e ) : void
OnPaintForeground ( PaintEventArgs e ) : void
OnResize ( EventArgs e ) : void

Private Methods

Method Description
AddEventHandler ( ) : void
BaseTextBoxAcceptsTabChanged ( object sender, EventArgs e ) : void
BaseTextBoxCausesValidationChanged ( object sender, EventArgs e ) : void
BaseTextBoxChangeUiCues ( object sender, System.Windows.Forms.UICuesEventArgs e ) : void
BaseTextBoxClick ( object sender, EventArgs e ) : void
BaseTextBoxClientSizeChanged ( object sender, EventArgs e ) : void
BaseTextBoxContextMenuChanged ( object sender, EventArgs e ) : void
BaseTextBoxContextMenuStripChanged ( object sender, EventArgs e ) : void
BaseTextBoxCursorChanged ( object sender, EventArgs e ) : void
BaseTextBoxKeyDown ( object sender, KeyEventArgs e ) : void
BaseTextBoxKeyPress ( object sender, KeyPressEventArgs e ) : void
BaseTextBoxKeyUp ( object sender, KeyEventArgs e ) : void
BaseTextBoxSizeChanged ( object sender, EventArgs e ) : void
BaseTextBoxTextChanged ( object sender, EventArgs e ) : void
CreateBaseTextBox ( ) : void
DrawIcon ( Graphics g ) : void
MetroTextBox_GotFocus ( object sender, EventArgs e ) : void
UpdateBaseTextBox ( ) : void

Method Details

AppendText() public method

public AppendText ( string text ) : void
text string
return void

Clear() public method

public Clear ( ) : void
return void

MetroTextBox() public method

public MetroTextBox ( ) : System
return System

OnCustomPaint() protected method

protected OnCustomPaint ( MetroPaintEventArgs e ) : void
e MetroFramework.Drawing.MetroPaintEventArgs
return void

OnCustomPaintBackground() protected method

protected OnCustomPaintBackground ( MetroPaintEventArgs e ) : void
e MetroFramework.Drawing.MetroPaintEventArgs
return void

OnCustomPaintForeground() protected method

protected OnCustomPaintForeground ( MetroPaintEventArgs e ) : void
e MetroFramework.Drawing.MetroPaintEventArgs
return void

OnPaint() protected method

protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
return void

OnPaintBackground() protected method

protected OnPaintBackground ( PaintEventArgs e ) : void
e PaintEventArgs
return void

OnPaintForeground() protected method

protected OnPaintForeground ( PaintEventArgs e ) : void
e PaintEventArgs
return void

OnResize() protected method

protected OnResize ( EventArgs e ) : void
e System.EventArgs
return void

Refresh() public method

public Refresh ( ) : void
return void

Select() public method

public Select ( int start, int length ) : void
start int
length int
return void

SelectAll() public method

public SelectAll ( ) : void
return void