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


In This Topic
    AllowRowMoveMultiple Property (SpreadView)
    In This Topic
    Gets or sets whether to allow the user to move multiple rows.
    Syntax
    'Declaration
     
    Public Property AllowRowMoveMultiple As Boolean
    'Usage
     
    Dim instance As SpreadView
    Dim value As Boolean
     
    instance.AllowRowMoveMultiple = value
     
    value = instance.AllowRowMoveMultiple
    public bool AllowRowMoveMultiple {get; set;}
    Remarks
    Click the column or row header to select it. Select multiple columns or rows by holding down the mouse button and moving over other headers.  After the selection is made, you can click and drag a selected header to start the move.
    Example
    This example uses the AllowRowMoveMultiple 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