C# Класс Habanero.Faces.Win.TextBoxMapperStrategyWin

Provides a set of behaviour strategies that can be applied to a TextBox depending on the environment
Наследование: ITextBoxMapperStrategy
Показать файл Открыть проект

Открытые методы

Метод Описание
AddKeyPressEventHandler ( TextBoxMapper mapper, IBOProp boProp ) : void

Adds key press event handlers that carry out actions like limiting the input of certain characters, depending on the type of the property

AddUpdateBoPropOnTextChangedHandler ( TextBoxMapper mapper, IBOProp boProp ) : void

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

Метод Описание
IsValidCharacter ( char character ) : bool

Indicates if the given character being typed is valid, based on the text already entered in the textbox. For instance, if the property type is an integer, this method will return false for a non-numeric character (apart from a negative sign).

KeyPressEventHandler ( object sender, System e ) : void
UpdateBoPropWithTextFromTextBox ( object sender, EventArgs e ) : void

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

AddKeyPressEventHandler() публичный Метод

Adds key press event handlers that carry out actions like limiting the input of certain characters, depending on the type of the property
public AddKeyPressEventHandler ( TextBoxMapper mapper, IBOProp boProp ) : void
mapper Habanero.Faces.Base.TextBoxMapper The TextBox mapper
boProp IBOProp The property being mapped
Результат void

AddUpdateBoPropOnTextChangedHandler() публичный Метод

public AddUpdateBoPropOnTextChangedHandler ( TextBoxMapper mapper, IBOProp boProp ) : void
mapper Habanero.Faces.Base.TextBoxMapper
boProp IBOProp
Результат void