Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / Cell Class / CanFocus Property

In This Topic
    CanFocus Property (Cell)
    In This Topic
    Gets or sets whether the user can set focus to the cell using the keyboard or mouse.
    Public Property CanFocus As Boolean
    Dim instance As Cell
    Dim value As Boolean
    instance.CanFocus = value
    value = instance.CanFocus
    public bool CanFocus {get; set;}

    Property Value

    Boolean: true if the cell can receive focus; false otherwise
    fpSpread1.ActiveSheet.Cells[2, 2].CanFocus = false;
    fpSpread1.ActiveSheet.Cells(2, 2).CanFocus = False
    See Also