Spread for ASP.NET 11 Product Documentation
CanFocus Property (AlternatingRow)
Example 


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > AlternatingRow 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 AlternatingRow
Dim value As Boolean
 
instance.CanFocus = value
 
value = instance.CanFocus
public bool CanFocus {get; set;}
Remarks
The combo box, button, text, hyperlink, radio button, and check box cells can still be edited if you set the CanFocus property to False. If you do not want the user to edit these cells, you will need to make the cell readonly.
Example
This example sets the CanFocus property.
FpSpread1.Sheets[0].AlternatingRows[0].CanFocus = false;
FpSpread1.Sheets(0).AlternatingRows(0).CanFocus = False
See Also

Reference

AlternatingRow Class
AlternatingRow Members