| Visual Basic (Declaration) | |
|---|---|
Public Overridable Property FocusRectangle As FocusRectangle  | |
| Visual Basic (Usage) |  Copy Code | 
|---|---|
Dim instance As CheckBoxCellType Dim value As FocusRectangle instance.FocusRectangle = value value = instance.FocusRectangle  | |
| C# | |
|---|---|
public virtual FocusRectangle FocusRectangle {get; set;}  | |
This example sets the FocusRectangle property.
             
            
            | C# |  Copy Code | 
|---|---|
FarPoint.Win.Spread.CellType.CheckBoxCellType checkcell = new FarPoint.Win.Spread.CellType.CheckBoxCellType();
checkcell.FocusRectangle = FarPoint.Win.FocusRectangle.Show;
fpSpread1.Sheets[0].Cells[1, 1].CellType = checkcell; | |
| Visual Basic |  Copy Code | 
|---|---|
Dim checkcell As New FarPoint.Win.Spread.CellType.CheckBoxCellType checkcell.FocusRectangle = FarPoint.Win.FocusRectangle.Show FpSpread1.Sheets(0).Cells(1, 1).CellType = checkcell  | |
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8