Spread ASP.NET 6.0 Product Documentation
ShowButton Property
See Also  Example Send Feedback
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > ComboBoxCellType Class : ShowButton Property


Glossary Item Box

Gets or sets whether the combo box should be displayed all the time.

Syntax

Visual Basic (Declaration) 
Public Property ShowButton As Boolean
Visual Basic (Usage)Copy Code
Dim instance As ComboBoxCellType
Dim value As Boolean
 
instance.ShowButton = value
 
value = instance.ShowButton
C# 
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.
C#Copy Code
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;
Visual BasicCopy Code
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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2002-2012 GrapeCity, Inc. All Rights Reserved.