Spread Windows Forms 12.0 Product Documentation
ShowZoomButton Property (DropDownCalendar)
Example 


GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType Namespace > DropDownCalendar Class : ShowZoomButton Property
Gets or sets a value that indicates whether to show the zoom button on the navigate bar.
Syntax
'Declaration
 
Public Property ShowZoomButton As Boolean
'Usage
 
Dim instance As DropDownCalendar
Dim value As Boolean
 
instance.ShowZoomButton = value
 
value = instance.ShowZoomButton
public bool ShowZoomButton {get; set;}

Property Value

A bool value, true to show the zoom button on the navigate bar; otherwise, false.
Example
This example sets the ShowZoomButton property.
GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType gcDateTimeCell1 = new GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType();
gcDateTimeCell1.DropDownCalendar.ShowWeekNumber = true;
gcDateTimeCell1.DropDownCalendar.ShowZoomButton = true;
fpSpread1.Sheets[0].Cells[1, 1].CellType = gcDateTimeCell1;
Dim gcDateTimeCell1 As New GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType()
gcDateTimeCell1.DropDownCalendar.ShowWeekNumber = True
gcDateTimeCell1.DropDownCalendar.ShowZoomButton = True
fpSpread1.Sheets(0).Cells(1, 1).CellType = gcDateTimeCell1
See Also

Reference

DropDownCalendar Class
DropDownCalendar Members