C# Класс Longkong.ColorPicker.Controls.HexTextBox

A specially designed textbox class that ensures that only HEX values are entered and displayed.
Наследование: ColorSpaceComponentTextBox
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
HexTextBox System

Защищенные методы

Метод Описание
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.

Приватные методы

Метод Описание
HexTextBox ( ) : System

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

Описание методов

IsInputChar() защищенный Метод

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.
Результат bool

OnKeyDown() защищенный Метод

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.
Результат void