Spread Windows Forms 11.0 Product Documentation
CanFocus Property (Cell)
Example 


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.
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

Reference

Cell Class
Cell Members