C# Class Habanero.Faces.Win.ListBoxWin.ListBoxSelectedObjectCollectionWin

Represents the collection of selected items in the ListBox. This adapts the WinForms SelectedObjectCollection for Habanero.Faces
Inheritance: ISelectedObjectCollection
Show file Open project: Chillisoft/habanero.faces Class Usage Examples

Public Methods

Method Description
Add ( object item ) : void

Adds an item to the list of selected items for a ListBox

Contains ( object selectedObject ) : bool
GetEnumerator ( ) : IEnumerator

Returns an enumerator that iterates through a collection.

ListBoxSelectedObjectCollectionWin ( SelectedObjectCollection items ) : System

Constructs the Selected Objects Adaptor.

Method Details

Add() public method

Adds an item to the list of selected items for a ListBox
public Add ( object item ) : void
item object An object representing the item to add /// to the collection of selected items
return void

Contains() public method

public Contains ( object selectedObject ) : bool
selectedObject object
return bool

GetEnumerator() public method

Returns an enumerator that iterates through a collection.
public GetEnumerator ( ) : IEnumerator
return IEnumerator

ListBoxSelectedObjectCollectionWin() public method

Constructs the Selected Objects Adaptor.
public ListBoxSelectedObjectCollectionWin ( SelectedObjectCollection items ) : System
items SelectedObjectCollection
return System