Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / FpSpread Class / AllowRowMoveDataAllowAddNew Property

In This Topic
    AllowRowMoveDataAllowAddNew Property (FpSpread)
    In This Topic
    Gets or sets a value that indicates whether to allow the user to move the add new row or asterisk row.
    Public Property AllowRowMoveDataAllowAddNew As Boolean
    Dim instance As FpSpread
    Dim value As Boolean
    instance.AllowRowMoveDataAllowAddNew = value
    value = instance.AllowRowMoveDataAllowAddNew
    public bool AllowRowMoveDataAllowAddNew {get; set;}
    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.
    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