Spread Windows Forms 12.0 Product Documentation
SolidColorOnly Property
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.CellType Namespace > ColorPickerCellType Class : SolidColorOnly Property
Gets or sets whether only solid colors are displayed.
Syntax
'Declaration
 
Public Property SolidColorOnly As Boolean
'Usage
 
Dim instance As ColorPickerCellType
Dim value As Boolean
 
instance.SolidColorOnly = value
 
value = instance.SolidColorOnly
public bool SolidColorOnly {get; set;}
Example
This example uses the SolidColorOnly property.
FarPoint.Win.Spread.CellType.ColorPickerCellType cp = new FarPoint.Win.Spread.CellType.ColorPickerCellType();
cp.SolidColorOnly = true;
fpSpread1.ActiveSheet.Cells[0, 0].CellType = cp;
Dim cp As New FarPoint.Win.Spread.CellType.ColorPickerCellType()
cp.SolidColorOnly = True
fpSpread1.ActiveSheet.Cells(0, 0).CellType = cp
See Also

Reference

ColorPickerCellType Class
ColorPickerCellType Members