Spread Windows Forms 12.0 Product Documentation
CanFocus Property (Column)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > Column Class : CanFocus Property
Gets or sets whether the user can set focus to the cell using the keyboard or mouse for cells in this column.
Syntax
'Declaration
 
Public Property CanFocus As Boolean
'Usage
 
Dim instance As Column
Dim value As Boolean
 
instance.CanFocus = value
 
value = instance.CanFocus
public bool CanFocus {get; set;}

Property Value

Boolean: true if the cells in the column can receive focus; false otherwise
Example
fpSpread1.ActiveSheet.Columns[2].CanFocus = false;
fpSpread1.ActiveSheet.Columns(2).CanFocus = False
See Also

Reference

Column Class
Column Members