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


In This Topic
    AllowRowMoveDataAllowAddNew Property (SpreadView)
    In This Topic
    Gets or sets a value that indicates whether to allow moving the add new row or asterisk row.
    Syntax
    'Declaration
     
    Public Property AllowRowMoveDataAllowAddNew As Boolean
    'Usage
     
    Dim instance As SpreadView
    Dim value As Boolean
     
    instance.AllowRowMoveDataAllowAddNew = value
     
    value = instance.AllowRowMoveDataAllowAddNew
    public bool AllowRowMoveDataAllowAddNew {get; set;}
    Example
    This example uses the AllowRowMoveDataAllowAddNew property.
    FarPoint.Win.Spread.SpreadView sv = fpSpread1.GetRootWorkbook();
    sv.AllowEditorReservedLocations = true;
    sv.AllowRowMove = true;
    sv.AllowRowMoveMultiple = true;
    sv.AllowRowMoveDataAllowAddNew = true;
    Dim sv As FarPoint.Win.Spread.SpreadView = FpSpread1.GetRootWorkbook
    sv.AllowEditorReservedLocations = True
    sv.AllowRowMove = True
    sv.AllowRowMoveMultiple = True
    sv.AllowRowMoveDataAllowAddNew = True
    See Also