ListBox could binding to any collection that implement IEnumerable interface.
ListBox also could bind to any Enum object.
-
Bind(Enum _enum) - Binding to System.Enum object.
-
Bind(string[] values) -Binding to string array.
-
Bind(IEnumerable collection, string dataTextField, string dataValueField) - Binding to IEnumberable collection object and specified the dataTextField and dataValue field.
-
Bind(IEnumerable collection) - Binding to IEnumberable collection T must be implement from INavigation interface.
-
Bind(IEnumerable collection, MapAction mapper) - Binding to collection object and specified the object Mapping delegate.