Méthode | Description | |
---|---|---|
AddObjects ( ICollection modelObjects ) : void |
|
|
ApplyFilters ( IModelFilter iModelFilter, IListFilter iListFilter ) : void |
Apply the given filters to this data source. One or both may be null.
|
|
FastObjectListDataSource ( |
Create a FastObjectListDataSource
|
|
GetNthObject ( int n ) : object |
Get n'th object
|
|
GetObjectCount ( ) : int |
How many items are in the data source
|
|
GetObjectIndex ( object model ) : int |
Get the index of the given model
|
|
InsertObjects ( int index, ICollection modelObjects ) : void |
|
|
RemoveObjects ( ICollection modelObjects ) : void |
Remove the given collection of models from this source.
|
|
SearchText ( string text, int first, int last, BrightIdeasSoftware.OLVColumn column ) : int |
|
|
SetObjects ( IEnumerable collection ) : void |
|
|
Sort ( BrightIdeasSoftware.OLVColumn column, SortOrder sortOrder ) : void |
|
|
UpdateObject ( int index, object modelObject ) : void |
Update/replace the nth object with the given object
|
Méthode | Description | |
---|---|---|
FilterObjects ( ) : void |
Build our filtered list from our full list.
|
|
RebuildIndexMap ( ) : void |
Rebuild the map that remembers which model object is displayed at which line
|
public AddObjects ( ICollection modelObjects ) : void | ||
modelObjects | ICollection | |
Résultat | void |
public ApplyFilters ( IModelFilter iModelFilter, IListFilter iListFilter ) : void | ||
iModelFilter | IModelFilter | |
iListFilter | IListFilter | |
Résultat | void |
public FastObjectListDataSource ( |
||
listView | ||
Résultat | System |
public GetObjectIndex ( object model ) : int | ||
model | object | |
Résultat | int |
public InsertObjects ( int index, ICollection modelObjects ) : void | ||
index | int | |
modelObjects | ICollection | |
Résultat | void |
public RemoveObjects ( ICollection modelObjects ) : void | ||
modelObjects | ICollection | |
Résultat | void |
public SearchText ( string text, int first, int last, BrightIdeasSoftware.OLVColumn column ) : int | ||
text | string | |
first | int | |
last | int | |
column | BrightIdeasSoftware.OLVColumn | |
Résultat | int |
public SetObjects ( IEnumerable collection ) : void | ||
collection | IEnumerable | |
Résultat | void |
public Sort ( BrightIdeasSoftware.OLVColumn column, SortOrder sortOrder ) : void | ||
column | BrightIdeasSoftware.OLVColumn | |
sortOrder | SortOrder | |
Résultat | void |
public UpdateObject ( int index, object modelObject ) : void | ||
index | int | |
modelObject | object | |
Résultat | void |