C# Class Habanero.ProgrammaticBinding.ControlAdaptors.WinFormsListBoxAdapter

This is a ControlWraper for Any Control that Inherits from System.Windows.Forms.Control It wraps this Control behind a standard interface that allows any Control in a Windows Environment to take advantage of the Habanero ControlMappers IControlMapper
Inheritance: WinFormsControlAdapter, IListBox
Datei anzeigen Open project: Chillisoft/habanero.binding

Public Methods

Method Description
ClearSelected ( ) : void
FindString ( string strValue ) : int
FindString ( string strValue, int intStartIndex ) : int
GetItemText ( object item ) : string
SetSelected ( int index, bool value ) : void
WinFormsListBoxAdapter ( ListBox control ) : System

Private Methods

Method Description
RaiseSelectedIndexChanged ( object sender, EventArgs e ) : void
RaiseSelectedValueChanged ( object sender, EventArgs e ) : void

Method Details

ClearSelected() public method

public ClearSelected ( ) : void
return void

FindString() public method

public FindString ( string strValue ) : int
strValue string
return int

FindString() public method

public FindString ( string strValue, int intStartIndex ) : int
strValue string
intStartIndex int
return int

GetItemText() public method

public GetItemText ( object item ) : string
item object
return string

SetSelected() public method

public SetSelected ( int index, bool value ) : void
index int
value bool
return void

WinFormsListBoxAdapter() public method

public WinFormsListBoxAdapter ( ListBox control ) : System
control System.Windows.Forms.ListBox
return System