Spread for ASP.NET 7.0 Product Documentation
CanFocus Property
See Also  Support Options
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > StyleInfo Class : CanFocus Property


Glossary Item Box

Gets or sets whether the style marks cells as CanFocus.

Syntax

Visual Basic (Declaration) 
Public Overridable Property CanFocus As Boolean
Visual Basic (Usage)Copy Code
Dim instance As StyleInfo
Dim value As Boolean
 
instance.CanFocus = value
 
value = instance.CanFocus
C# 
public virtual 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.

Requirements

Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.