C# 클래스 Habanero.Faces.Win.TextBoxMapperStrategyWin

Provides a set of behaviour strategies that can be applied to a TextBox depending on the environment
상속: ITextBoxMapperStrategy
파일 보기 프로젝트 열기: Chillisoft/habanero.faces

공개 메소드들

메소드 설명
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