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