Spread Windows Forms 6.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 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

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