FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.CellType Namespace : ColorPickerStyle Enumeration |
'Declaration Public Enum ColorPickerStyle Inherits System.Enum
'Usage Dim instance As ColorPickerStyle
public enum ColorPickerStyle : System.Enum
Member | Description |
---|---|
Boxed | Displays the color in a box in the client area |
BoxedWithText | Displays the color in a box in the client area with text displayed alongside the box |
Fill | Fills the entire client area with the color |
FillWithText | Fills the entire client area with text overlay |
FarPoint.Win.Spread.CellType.ColorPickerCellType cp = new FarPoint.Win.Spread.CellType.ColorPickerCellType(); cp.AllowFullOpen = true; cp.AnyColor = false; cp.CustomColors = new int[] {255, 190, 50}; cp.FullOpen = true; 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 = False cp.CustomColors = New Integer() {255, 190, 50} cp.FullOpen = True cp.Style = FarPoint.Win.Spread.CellType.ColorPickerStyle.BoxedWithText FpSpread1.ActiveSheet.Cells(0, 0).CellType = cp
System.Object
System.ValueType
System.Enum
FarPoint.Win.Spread.CellType.ColorPickerStyle
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