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


GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType Namespace > DropDownCalendar Class : HeaderHeight Property
Gets or sets the height of the header.
Syntax
'Declaration
 
Public Property HeaderHeight As Integer
'Usage
 
Dim instance As DropDownCalendar
Dim value As Integer
 
instance.HeaderHeight = value
 
value = instance.HeaderHeight
public int HeaderHeight {get; set;}

Property Value

An System.Int32 value that indicates the height of the header.
The default is 0.
Remarks
A zero value means the header height is calculated automatically.
Example
This example sets the HeaderHeight property.
GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType inputcell = new GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType();
inputcell.DropDownCalendar.HeaderFormat = "MM yy";
inputcell.DropDownCalendar.UseHeaderFormat = true;
inputcell.DropDownCalendar.HeaderHeight = 40;
fpSpread1.Sheets[0].Cells[0, 0].CellType = inputcell;
Dim inputcell As New GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType()
inputcell.DropDownCalendar.HeaderFormat = "MM yy"
inputcell.DropDownCalendar.UseHeaderFormat = True
inputcell.DropDownCalendar.HeaderHeight = 40
fpSpread1.Sheets(0).Cells(0, 0).CellType = inputcell
See Also

Reference

DropDownCalendar Class
DropDownCalendar Members