Visual Basic (Declaration) | |
---|---|
Public Shared ReadOnly CanFocus As SheetStyleProperty |
Visual Basic (Usage) | ![]() |
---|---|
Dim value As SheetStyleProperty value = SheetStyleProperty.CanFocus |
C# | |
---|---|
public static readonly SheetStyleProperty CanFocus |
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.
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