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


In This Topic
    AllowEditorReservedLocations Property (SpreadView)
    In This Topic
    Gets or sets whether cell editor reserved mouse locations are allowed.
    Syntax
    'Declaration
     
    Public Property AllowEditorReservedLocations As Boolean
    'Usage
     
    Dim instance As SpreadView
    Dim value As Boolean
     
    instance.AllowEditorReservedLocations = value
     
    value = instance.AllowEditorReservedLocations
    public bool AllowEditorReservedLocations {get; set;}
    Remarks
    Setting this property to true will prevent cell editors from showing custom cursors for reserved locations inside the cell, and prevent cell editors from entering edit mode on a single click in a reserved location (the user will always have to double-click to enter edit mode in a cell).
    Example
    This example uses the AllowEditorReservedLocations 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