Spread Windows Forms 12.0 Product Documentation
AllowFullOpen Property
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.CellType Namespace > ColorPickerCellType Class : AllowFullOpen Property
Gets or sets whether to allow the color picker dialog to open fully.
Syntax
'Declaration
 
Public Property AllowFullOpen As Boolean
'Usage
 
Dim instance As ColorPickerCellType
Dim value As Boolean
 
instance.AllowFullOpen = value
 
value = instance.AllowFullOpen
public bool AllowFullOpen {get; set;}
Example
This example creates a ColorPicker cell type.
FarPoint.Win.Spread.CellType.ColorPickerCellType cp = new FarPoint.Win.Spread.CellType.ColorPickerCellType();
cp.AllowFullOpen = true;
cp.AnyColor = false;
cp.Caption = "ColorPicker";
cp.CustomColors = new int[] {255, 190, 50};
cp.FullOpen = true;
cp.UnknownText = "Custom Color";
cp.UnknownTextStyle = FarPoint.Win.Spread.CellType.UnknownTextStyle.Custom;
cp.Style = FarPoint.Win.Spread.CellType.ColorPickerStyle.BoxedWithText;
fpSpread1.ActiveSheet.Cells[0, 0].CellType = cp;
Dim cp As New FarPoint.Win.Spread.CellType.ColorPickerCellType
cp.AllowFullOpen = True
cp.AnyColor = True
cp.CustomColors = New Integer() {255, 190, 50}
cp.Caption = "ColorPicker"
cp.FullOpen = True
cp.UnknownText = "FarPoint"
cp.UnknownTextStyle = FarPoint.Win.Spread.CellType.UnknownTextStyle.Custom
cp.Style = FarPoint.Win.Spread.CellType.ColorPickerStyle.BoxedWithText
fpSpread1.ActiveSheet.Cells(0, 0).CellType = cp
See Also

Reference

ColorPickerCellType Class
ColorPickerCellType Members