Spread Windows Forms 7.0 Product Documentation
DropDownOptions Enumeration
Example  See Also  Support Options
FarPoint.Win Assembly > FarPoint.Win Namespace : DropDownOptions Enumeration


Glossary Item Box

Specifies how to show the list in the combox cell type.

Syntax

Visual Basic (Declaration) 
Public Enum DropDownOptions 
   Inherits System.Enum
Visual Basic (Usage)Copy Code
Dim instance As DropDownOptions
C# 
public enum DropDownOptions : System.Enum 

Members

MemberDescription
ButtonDisplays the drop down when the button area is clicked, does not drop down when the cell area is clicked.
ButtonAndTextDisplays the drop-down list when the cell or button area is clicked.
InheritKeeps the 3.0 behavior (default)
NoneDoes not drop down when the cell or button area is clicked
TextDisplays the drop-down list when the cell area is clicked, does not drop down the list when the button area clicked.

Example

This example sets the DropDownOptions property.
C#Copy Code
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;
VB.NETCopy Code
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

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         FarPoint.Win.DropDownOptions

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.