Spread Windows Forms 12.0 Product Documentation
CanFocus Property (Cell)

FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > Cell Class : CanFocus Property
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


Cell Class
Cell Members