Spread Windows Forms 6.0 Product Documentation
AllowRowMoveDataAllowAddNew Property
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > FpSpread Class : AllowRowMoveDataAllowAddNew Property


Glossary Item Box

Gets or sets a value that indicates whether to allow the user to move the add new row or asterisk row.

Syntax

Visual Basic (Declaration) 
Public Property AllowRowMoveDataAllowAddNew As Boolean
Visual Basic (Usage)Copy Code
Dim instance As FpSpread
Dim value As Boolean
 
instance.AllowRowMoveDataAllowAddNew = value
 
value = instance.AllowRowMoveDataAllowAddNew
C# 
public bool AllowRowMoveDataAllowAddNew {get; set;}

Remarks

This property allows the user to move a row below the add new row (asterisk row).  Set the DataAllowAddNew property to allow the user to add a new row (asterisk row). Set the AllowRowMove property to allow the user to move a row.

Example

This example sets the AllowRowMoveDataAllowAddNew property.
C#Copy Code
fpSpread1.AllowRowMoveDataAllowAddNew = true;
fpSpread1.Sheets[0].DataAllowAddNew = true;
fpSpread1.AllowRowMove = true;
Visual BasicCopy Code
FpSpread1.AllowRowMoveDataAllowAddNew = True
FpSpread1.Sheets(0).DataAllowAddNew = True
FpSpread1.AllowRowMove = True

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.