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


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.
    Syntax
    'Declaration
     
    Public Property CanFocus As Boolean
    'Usage
     
    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
    Example
    fpSpread1.ActiveSheet.Cells[2, 2].CanFocus = false;
    fpSpread1.ActiveSheet.Cells(2, 2).CanFocus = False
    See Also