Spread Windows Forms 7.0 Product Documentation
FocusRectangle Property
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.CellType Namespace > CheckBoxCellType Class : FocusRectangle Property


Glossary Item Box

Gets or sets whether the focus rectangle is displayed.

Syntax

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;}

Example

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 BasicCopy Code
Dim checkcell As New FarPoint.Win.Spread.CellType.CheckBoxCellType
checkcell.FocusRectangle = FarPoint.Win.FocusRectangle.Show
FpSpread1.Sheets(0).Cells(1, 1).CellType = checkcell

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

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