FarPoint.Win Assembly > FarPoint.Win Namespace : DropDownOptions Enumeration |
'Declaration Public Enum DropDownOptions Inherits System.Enum
'Usage Dim instance As DropDownOptions
public enum DropDownOptions : System.Enum
Member | Description |
---|---|
Button | Displays the drop down when the button area is clicked, does not drop down when the cell area is clicked. |
ButtonAndText | Displays the drop-down list when the cell or button area is clicked. |
Inherit | Keeps the 3.0 behavior (default) |
None | Does not drop down when the cell or button area is clicked |
Text | Displays the drop-down list when the cell area is clicked, does not drop down the list when the button area clicked. |
FarPoint.Win.Spread.CellType.ComboBoxCellType cmbocell = new FarPoint.Win.Spread.CellType.ComboBoxCellType(); cmbocell.Items = (new String[] { "January", "February", "March", "April", "May", "June" }); cmbocell.DropDownOptions = FarPoint.Win.DropDownOptions.ButtonAndText; fpSpread1.Sheets[0].Cells[0, 0].CellType = cmbocell;
Dim cmbocell As New FarPoint.Win.Spread.CellType.ComboBoxCellType() cmbocell.Items = (new String() {"January", "February", "March", "April", "May", "June"}) cmbocell.DropDownOptions = FarPoint.Win.DropDownOptions.ButtonAndText FpSpread1.Sheets(0).Cells(0,0).CellType = cmbocell
System.Object
System.ValueType
System.Enum
FarPoint.Win.DropDownOptions
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8