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
Afficher le fichier Open project: Chillisoft/habanero.binding

Méthodes publiques

Méthode 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

Méthode Description
RaiseSelectedIndexChanged ( object sender, EventArgs e ) : void
RaiseSelectedValueChanged ( object sender, EventArgs e ) : void

Method Details

ClearSelected() public méthode

public ClearSelected ( ) : void
Résultat void

FindString() public méthode

public FindString ( string strValue ) : int
strValue string
Résultat int

FindString() public méthode

public FindString ( string strValue, int intStartIndex ) : int
strValue string
intStartIndex int
Résultat int

GetItemText() public méthode

public GetItemText ( object item ) : string
item object
Résultat string

SetSelected() public méthode

public SetSelected ( int index, bool value ) : void
index int
value bool
Résultat void

WinFormsListBoxAdapter() public méthode

public WinFormsListBoxAdapter ( ListBox control ) : System
control System.Windows.Forms.ListBox
Résultat System