Spread Windows Forms 6.0 Product Documentation
GetDataViewRowFromModelRowWhenAddNew Method
See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.Data Namespace > ISpreadDataViewMapper Interface : GetDataViewRowFromModelRowWhenAddNew Method


modelRow
Model row index

Glossary Item Box

Gets the data view row from model row when add new row. This method is only used when add a new row to sheetview

Syntax

Visual Basic (Declaration) 
Function GetDataViewRowFromModelRowWhenAddNew( _
   ByVal modelRow As Integer _
) As Integer
Visual Basic (Usage)Copy Code
Dim instance As ISpreadDataViewMapper
Dim modelRow As Integer
Dim value As Integer
 
value = instance.GetDataViewRowFromModelRowWhenAddNew(modelRow)
C# 
int GetDataViewRowFromModelRowWhenAddNew( 
   int modelRow
)

Parameters

modelRow
Model row index

Return Value

Index of row in view

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2002-2012 ComponentOne, a division of GrapeCity. All Rights Reserved.