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


In This Topic
    AllowRowMove Property (FpSpread)
    In This Topic
    Gets or sets whether to allow the user to move rows.
    Syntax
    'Declaration
     
    Public Property AllowRowMove As Boolean
    'Usage
     
    Dim instance As FpSpread
    Dim value As Boolean
     
    instance.AllowRowMove = value
     
    value = instance.AllowRowMove
    public bool AllowRowMove {get; set;}

    Property Value

    Boolean: true to allow the user to move rows; false otherwise
    Remarks
    Cell spans will stay visible by default unless the control is bound. The MoveContent option of the DragMove event is false if the control is bound. If the MoveContent option is false, then the spans will become invisible. If spans overlap when moving then the move is canceled.
    Example
    This example sets the AllowRowMove property.
    fpSpread1.AllowColumnMove =true;
    
    fpSpread1.AllowRowMove=true;
    
    FpSpread1.AllowColumnMove = True
    
    FpSpread1.AllowRowMove = True
    See Also