C# Class LayoutFarm.CustomWidgets.ListView

Inheritance: LayoutFarm.UI.UIBox
Mostra file Open project: prepare/HTML-Renderer Class Usage Examples

Public Methods

Method Description
AddItem ( ListItem ui ) : void
ClearItems ( ) : void
EnsureSelectedItemVisible ( ) : void
GetItem ( int index ) : ListItem
GetPrimaryRenderElement ( RootGraphic rootgfx ) : RenderElement
ListView ( int width, int height ) : System
Remove ( ListItem item ) : void
RemoveAt ( int index ) : void
ScrollToSelectedItem ( ) : void
SetViewport ( int x, int y ) : void
Walk ( UIVisitor visitor ) : void
panel_MouseDoubleClick ( object sender, UIMouseEventArgs e ) : void
panel_MouseDown ( object sender, UIMouseEventArgs e ) : void
simpleBox_KeyDown ( object sender, UIKeyEventArgs e ) : void

Protected Methods

Method Description
OnContentLayout ( ) : void
OnMouseDown ( UIMouseEventArgs e ) : void
OnMouseUp ( UIMouseEventArgs e ) : void

Method Details

AddItem() public method

public AddItem ( ListItem ui ) : void
ui ListItem
return void

ClearItems() public method

public ClearItems ( ) : void
return void

EnsureSelectedItemVisible() public method

public EnsureSelectedItemVisible ( ) : void
return void

GetItem() public method

public GetItem ( int index ) : ListItem
index int
return ListItem

GetPrimaryRenderElement() public method

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

ListView() public method

public ListView ( int width, int height ) : System
width int
height int
return System

OnContentLayout() protected method

protected OnContentLayout ( ) : void
return void

OnMouseDown() protected method

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

OnMouseUp() protected method

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

Remove() public method

public Remove ( ListItem item ) : void
item ListItem
return void

RemoveAt() public method

public RemoveAt ( int index ) : void
index int
return void

ScrollToSelectedItem() public method

public ScrollToSelectedItem ( ) : void
return void

SetViewport() public method

public SetViewport ( int x, int y ) : void
x int
y int
return void

Walk() public method

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

panel_MouseDoubleClick() public method

public panel_MouseDoubleClick ( object sender, UIMouseEventArgs e ) : void
sender object
e LayoutFarm.UI.UIMouseEventArgs
return void

panel_MouseDown() public method

public panel_MouseDown ( object sender, UIMouseEventArgs e ) : void
sender object
e LayoutFarm.UI.UIMouseEventArgs
return void

simpleBox_KeyDown() public method

public simpleBox_KeyDown ( object sender, UIKeyEventArgs e ) : void
sender object
e LayoutFarm.UI.UIKeyEventArgs
return void