C# Class Longkong.ColorPicker.Controls.HexTextBox

A specially designed textbox class that ensures that only HEX values are entered and displayed.
Inheritance: ColorSpaceComponentTextBox
Afficher le fichier Open project: Longkong/Pojjaman Class Usage Examples

Private Properties

Свойство Type Description
HexTextBox System

Méthodes protégées

Méthode Description
IsInputChar ( char charCode ) : bool

Determines whether or not the specified character is to be designated for preprocessing or sent directly to the control.

OnKeyDown ( KeyEventArgs e ) : void

Preprocessing leading up to the raising of the KeyDown event.

Private Methods

Méthode Description
HexTextBox ( ) : System

Constructor. Sets the max length to 6 and the text property to an empty string.

Method Details

IsInputChar() protected méthode

Determines whether or not the specified character is to be designated for preprocessing or sent directly to the control.
protected IsInputChar ( char charCode ) : bool
charCode char The character to be evaluated.
Résultat bool

OnKeyDown() protected méthode

Preprocessing leading up to the raising of the KeyDown event.
protected OnKeyDown ( KeyEventArgs e ) : void
e System.Windows.Forms.KeyEventArgs A KeyEventArgs containing the event data.
Résultat void