Spread Windows Forms 11.0 Product Documentation
FocusRectangle Property (CheckBoxCellType)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.CellType Namespace > CheckBoxCellType Class : FocusRectangle Property
Gets or sets whether the focus rectangle is displayed.
Syntax
'Declaration
 
Public Overridable Property FocusRectangle As FocusRectangle
'Usage
 
Dim instance As CheckBoxCellType
Dim value As FocusRectangle
 
instance.FocusRectangle = value
 
value = instance.FocusRectangle
public virtual FocusRectangle FocusRectangle {get; set;}
Example
This example sets the FocusRectangle property.
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;
Dim checkcell As New FarPoint.Win.Spread.CellType.CheckBoxCellType
checkcell.FocusRectangle = FarPoint.Win.FocusRectangle.Show
fpSpread1.Sheets(0).Cells(1, 1).CellType = checkcell
See Also

Reference

CheckBoxCellType Class
CheckBoxCellType Members