메소드 | 설명 | |
---|---|---|
DataSourceAdapter ( |
Make a DataSourceAdapter
|
|
Dispose ( ) : void |
Release all the resources used by this instance
|
|
Dispose ( bool fromUser ) : void |
Release all the resources used by this instance
|
메소드 | 설명 | |
---|---|---|
BindDataSource ( ) : void | ||
BindListView ( |
||
ChangePosition ( int index ) : void |
Change the control's position (which is it's currently selected row) to the n'th row in the dataset
|
|
ConfigureColumn ( OLVColumn column, |
Configure the given column to show the given property. The title and aspect name of the column are already filled in.
|
|
CreateColumnsFromSource ( ) : void |
Create columns for the listview based on what properties are available in the data source This method will create columns if there is not already a column displaying that property. |
|
CreateMissingAspectGettersAndPutters ( ) : void |
Generate aspect getters and putters for any columns that are missing them (and for which we have enough information to actually generate a getter)
|
|
CurrencyManagerListChanged ( object sender, |
CurrencyManager ListChanged event handler. Deals with fine-grained changes to list items. It's actually difficult to deal with these changes in a fine-grained manner. If our listview is grouped, then any change may make a new group appear or an old group disappear. It is rarely enough to simply update the affected row. |
|
HandleCurrencyManagerMetaDataChanged ( object sender, |
The CurrencyManager calls this if the data source looks different. We just reload everything. CHECK: Do we need this if we are handle ListChanged metadata events? |
|
HandleCurrencyManagerPositionChanged ( object sender, |
Called by the CurrencyManager when the currently selected item changes. We update the ListView selection so that we stay in sync with any other controls bound to the same source.
|
|
HandleListChangedItemAdded ( |
Handle an ItemAdded event.
|
|
HandleListChangedItemChanged ( |
Handle ItemChanged event. This is triggered when a single item has changed, so just refresh that one item. Even in this simple case, we should probably rebuild the list. For example, the change could put the item into its own new group. |
|
HandleListChangedItemDeleted ( |
Handle the ItemDeleted event
|
|
HandleListChangedItemMoved ( |
Handle ItemMoved event
|
|
HandleListChangedMetadataChanged ( |
Handle PropertyDescriptor* events
|
|
HandleListChangedReset ( |
Handle the Reset event
|
|
HandleListViewBindingContextChanged ( object sender, |
Handle a change to the BindingContext of our ListView.
|
|
HandleListViewFreezing ( object sender, BrightIdeasSoftware.FreezeEventArgs e ) : void |
Handle the frozenness of our ListView changing.
|
|
HandleListViewSelectedIndexChanged ( object sender, |
Handle the selection changing in our ListView. We need to tell our currency manager about the new position.
|
|
InitializeDataSource ( ) : void |
The data source for this control has changed. Reconfigure the control for the new source
|
|
RebindDataSource ( ) : void |
Our data source has changed. Figure out how to handle the new source
|
|
RebindDataSource ( bool forceDataInitialization ) : void |
Our data source has changed. Figure out how to handle the new source
|
|
SetListContents ( ) : void |
Take the contents of the currently bound list and put them into the control
|
|
ShouldCreateColumn ( |
Decide if a new column should be added to the control to display the given property
|
|
UnbindDataSource ( ) : void | ||
UnbindListView ( |
protected BindListView ( |
||
olv | ||
리턴 | void |
protected ChangePosition ( int index ) : void | ||
index | int | The index of the row to be selected |
리턴 | void |
protected ConfigureColumn ( OLVColumn column, |
||
column | OLVColumn | |
property | ||
리턴 | void |
protected CreateMissingAspectGettersAndPutters ( ) : void | ||
리턴 | void |
protected CurrencyManagerListChanged ( object sender, |
||
sender | object | |
e | ||
리턴 | void |
public DataSourceAdapter ( |
||
olv | ||
리턴 | System |
protected HandleCurrencyManagerMetaDataChanged ( object sender, |
||
sender | object | |
e | ||
리턴 | void |
protected HandleCurrencyManagerPositionChanged ( object sender, |
||
sender | object | |
e | ||
리턴 | void |
protected HandleListChangedItemAdded ( |
||
e | ||
리턴 | void |
protected HandleListChangedItemChanged ( |
||
e | ||
리턴 | void |
protected HandleListChangedItemDeleted ( |
||
e | ||
리턴 | void |
protected HandleListChangedItemMoved ( |
||
e | ||
리턴 | void |
protected HandleListChangedMetadataChanged ( |
||
e | ||
리턴 | void |
protected HandleListChangedReset ( |
||
e | ||
리턴 | void |
protected HandleListViewBindingContextChanged ( object sender, |
||
sender | object | |
e | ||
리턴 | void |
protected HandleListViewFreezing ( object sender, BrightIdeasSoftware.FreezeEventArgs e ) : void | ||
sender | object | |
e | BrightIdeasSoftware.FreezeEventArgs | |
리턴 | void |
protected HandleListViewSelectedIndexChanged ( object sender, |
||
sender | object | |
e | ||
리턴 | void |
protected RebindDataSource ( bool forceDataInitialization ) : void | ||
forceDataInitialization | bool | |
리턴 | void |
protected ShouldCreateColumn ( |
||
property | ||
리턴 | bool |
protected UnbindListView ( |
||
olv | ||
리턴 | void |