Spread for ASP.NET 10 Product Documentation
ShowButton Property (ComboBoxCellType)
Example 


Gets or sets whether the combo box should be displayed all the time.
Syntax
'Declaration
 
Public Property ShowButton As Boolean
'Usage
 
Dim instance As ComboBoxCellType
Dim value As Boolean
 
instance.ShowButton = value
 
value = instance.ShowButton
public bool ShowButton {get; set;}

Property Value

Boolean: true to display the combo box buttons all the time; false otherwise
Example
This example uses a combo box to force a postback and sets the buttons to show all the time.
FarPoint.Web.Spread.ComboBoxCellType c = new FarPoint.Web.Spread.ComboBoxCellType(new String[] {"One", "Two", "Three"});
c.AutoPostBack = true;
c.ShowButton = true; 
FpSpread1.ActiveSheetView.Cells(0, 0).CellType = c;
Dim c As New FarPoint.Web.Spread.ComboBoxCellType(New String() {"One", "Two", "Three"})
c.AutoPostBack = True
c.ShowButton = True 
FpSpread1.ActiveSheetView.Cells(0, 0).CellType = c
Requirements

Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

ComboBoxCellType Class
ComboBoxCellType Members

 

 


Copyright © GrapeCity, inc. All rights reserved.