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


modelRow
Model row index

Glossary Item Box

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

Syntax

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

Parameters

modelRow
Model row index

Return Value

Integer row index

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.