Spread Windows Forms 11.0 Product Documentation
AllowRowMoveDataAllowAddNew Property (FpSpread)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > FpSpread Class : AllowRowMoveDataAllowAddNew Property
Gets or sets a value that indicates whether to allow the user to move the add new row or asterisk row.
Syntax
'Declaration
 
Public Property AllowRowMoveDataAllowAddNew As Boolean
'Usage
 
Dim instance As FpSpread
Dim value As Boolean
 
instance.AllowRowMoveDataAllowAddNew = value
 
value = instance.AllowRowMoveDataAllowAddNew
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.
fpSpread1.AllowRowMoveDataAllowAddNew = true;
fpSpread1.Sheets[0].DataAllowAddNew = true;
fpSpread1.AllowRowMove = true;
fpSpread1.AllowRowMoveDataAllowAddNew = True
fpSpread1.Sheets(0).DataAllowAddNew = True
fpSpread1.AllowRowMove = True
See Also

Reference

FpSpread Class
FpSpread Members