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


In This Topic
    AllowSheetMove Property (SpreadView)
    In This Topic
    Gets or sets whether sheets can be moved by dragging and dropping the sheet tab.
    Syntax
    'Declaration
     
    Public Property AllowSheetMove As Boolean
    'Usage
     
    Dim instance As SpreadView
    Dim value As Boolean
     
    instance.AllowSheetMove = value
     
    value = instance.AllowSheetMove
    public bool AllowSheetMove {get; set;}

    Property Value

    Boolean: true to allow the user to move sheets with the sheet tabs; false otherwise
    Example
    This example sets the AllowSheetMove property.
    FarPoint.Win.Spread.SpreadView sv = fpSpread1.GetRootWorkbook();
    sv.AllowSheetMove = true;
    sv.AllowUndo = true;
    sv.Sheets.Count = 3;
    Dim sv As FarPoint.Win.Spread.SpreadView = FpSpread1.GetRootWorkbook
    sv.AllowSheetMove = True
    sv.AllowUndo = True
    sv.Sheets.Count = 3
    See Also