[]
        
(Showing Draft Content)

FarPoint.Win.Spread.SheetView.SetModelColumnForViewColumn

SetModelColumnForViewColumn Method

SetModelColumnForViewColumn(int, int)

Sets the column index in the data model that corresponds to the specified column index in the sheet.

Declaration
public virtual int SetModelColumnForViewColumn(int viewColumn, int modelColumn)
Public Overridable Function SetModelColumnForViewColumn(viewColumn As Integer, modelColumn As Integer) As Integer
Parameters
Type Name Description
int viewColumn

Column index in the sheet

int modelColumn

Column index in the data model

Returns
Type Description
int
Exceptions
Type Condition
ArgumentOutOfRangeException

Specified column in the sheet is out of range; must be between -1 and the total number of columns in the sheet

ArgumentOutOfRangeException

Specified column in the model is out of range; must be between -1 and the total number of columns in the model