Spread Windows Forms 10.0 Product Documentation
BoxWidth Property
Example 


Gets or sets the width (in pixels) of the box in the color picker cell.
Syntax
'Declaration
 
Public Property BoxWidth As Integer
'Usage
 
Dim instance As ColorPickerCellType
Dim value As Integer
 
instance.BoxWidth = value
 
value = instance.BoxWidth
public int BoxWidth {get; set;}
Example
This example sets the width of the color indicator box.
FarPoint.Win.Spread.CellType.ColorPickerCellType cp = new
FarPoint.Win.Spread.CellType.ColorPickerCellType();
cp.BoxWidth = 40;
cp.DropDown = true;
fpSpread1.ActiveSheet.Cells[0, 0].CellType = cp;
Dim cp As New FarPoint.Win.Spread.CellType.ColorPickerCellType
cp.BoxWidth = 40
cp.DropDown = True

FpSpread1.ActiveSheet.Cells(0, 0).CellType = cp
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

ColorPickerCellType Class
ColorPickerCellType Members

 

 


Copyright © GrapeCity, inc. All rights reserved.