Spread Windows Forms 7.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 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

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