Spread Windows Forms 9.0 Product Documentation
CheckBoxCellType Constructor(CheckBoxCellType)
Example 


Specified check box cell type from which to copy
Creates a new copy from the specified cell type ("Copy constructor").
Syntax
'Declaration
 
Public Function New( _
   ByVal g As CheckBoxCellType _
)
'Usage
 
Dim g As CheckBoxCellType
 
Dim instance As New CheckBoxCellType(g)
public CheckBoxCellType( 
   CheckBoxCellType g
)

Parameters

g
Specified check box cell type from which to copy
Example
This example creates check box cells.
FarPoint.Win.Spread.CellType.CheckBoxCellType ccell = new FarPoint.Win.Spread.CellType.CheckBoxCellType();
ccell.TextAlign = FarPoint.Win.ButtonTextAlign.TextRightPictLeft;
FarPoint.Win.Spread.CellType.CheckBoxCellType ccell1 = new FarPoint.Win.Spread.CellType.CheckBoxCellType(ccell);
ccell1.TextTrue = "True";
fpSpread1.Sheets[0].Cells[1, 1].CellType = ccell1;
Dim ccell As New FarPoint.Win.Spread.CellType.CheckBoxCellType()
ccell.TextAlign = FarPoint.Win.ButtonTextAlign.TextRightPictLeft
Dim ccell1 As New FarPoint.Win.Spread.CellType.CheckBoxCellType(ccell)
ccell1.TextTrue = "True"
FpSpread1.Sheets(0).Cells(1, 1).CellType = ccell1
Requirements

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

See Also

Reference

CheckBoxCellType Class
CheckBoxCellType Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.