C# Class LayoutFarm.CustomWidgets.TextBox

Inheritance: LayoutFarm.UI.UIBox
显示文件 Open project: prepare/HTML-Renderer Class Usage Examples

Public Methods

Method Description
Blur ( ) : void
ClearText ( ) : void
CopyCurrentLine ( StringBuilder stbuilder ) : void
DoEnd ( ) : void
DoHome ( ) : void
Focus ( ) : void
GetPrimaryRenderElement ( RootGraphic rootgfx ) : RenderElement
ReplaceCurrentLineTextRuns ( IEnumerable textRuns ) : void
ReplaceCurrentTextRunContent ( int nBackspaces, string newstr ) : void
TextBox ( int width, int height, bool multiline ) : System
Walk ( UIVisitor visitor ) : void

Protected Methods

Method Description
OnDoubleClick ( UIMouseEventArgs e ) : void
OnKeyDown ( UIKeyEventArgs e ) : void
OnKeyPress ( UIKeyEventArgs e ) : void
OnKeyUp ( UIKeyEventArgs e ) : void
OnLostKeyboardFocus ( UIFocusEventArgs e ) : void
OnMouseDown ( UIMouseEventArgs e ) : void
OnMouseLeave ( UIMouseEventArgs e ) : void
OnMouseMove ( UIMouseEventArgs e ) : void
OnMouseUp ( UIMouseEventArgs e ) : void
OnProcessDialogKey ( UIKeyEventArgs e ) : bool

Method Details

Blur() public method

public Blur ( ) : void
return void

ClearText() public method

public ClearText ( ) : void
return void

CopyCurrentLine() public method

public CopyCurrentLine ( StringBuilder stbuilder ) : void
stbuilder StringBuilder
return void

DoEnd() public method

public DoEnd ( ) : void
return void

DoHome() public method

public DoHome ( ) : void
return void

Focus() public method

public Focus ( ) : void
return void

GetPrimaryRenderElement() public method

public GetPrimaryRenderElement ( RootGraphic rootgfx ) : RenderElement
rootgfx RootGraphic
return RenderElement

OnDoubleClick() protected method

protected OnDoubleClick ( UIMouseEventArgs e ) : void
e LayoutFarm.UI.UIMouseEventArgs
return void

OnKeyDown() protected method

protected OnKeyDown ( UIKeyEventArgs e ) : void
e LayoutFarm.UI.UIKeyEventArgs
return void

OnKeyPress() protected method

protected OnKeyPress ( UIKeyEventArgs e ) : void
e LayoutFarm.UI.UIKeyEventArgs
return void

OnKeyUp() protected method

protected OnKeyUp ( UIKeyEventArgs e ) : void
e LayoutFarm.UI.UIKeyEventArgs
return void

OnLostKeyboardFocus() protected method

protected OnLostKeyboardFocus ( UIFocusEventArgs e ) : void
e LayoutFarm.UI.UIFocusEventArgs
return void

OnMouseDown() protected method

protected OnMouseDown ( UIMouseEventArgs e ) : void
e LayoutFarm.UI.UIMouseEventArgs
return void

OnMouseLeave() protected method

protected OnMouseLeave ( UIMouseEventArgs e ) : void
e LayoutFarm.UI.UIMouseEventArgs
return void

OnMouseMove() protected method

protected OnMouseMove ( UIMouseEventArgs e ) : void
e LayoutFarm.UI.UIMouseEventArgs
return void

OnMouseUp() protected method

protected OnMouseUp ( UIMouseEventArgs e ) : void
e LayoutFarm.UI.UIMouseEventArgs
return void

OnProcessDialogKey() protected method

protected OnProcessDialogKey ( UIKeyEventArgs e ) : bool
e LayoutFarm.UI.UIKeyEventArgs
return bool

ReplaceCurrentLineTextRuns() public method

public ReplaceCurrentLineTextRuns ( IEnumerable textRuns ) : void
textRuns IEnumerable
return void

ReplaceCurrentTextRunContent() public method

public ReplaceCurrentTextRunContent ( int nBackspaces, string newstr ) : void
nBackspaces int
newstr string
return void

TextBox() public method

public TextBox ( int width, int height, bool multiline ) : System
width int
height int
multiline bool
return System

Walk() public method

public Walk ( UIVisitor visitor ) : void
visitor LayoutFarm.UI.UIVisitor
return void