Spread Windows Forms 11.0 Product Documentation
UseHeaderFormat Property (DropDownCalendar)
Example 


GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType Namespace > DropDownCalendar Class : UseHeaderFormat Property
Gets or sets whether to use the HeaderFormat property to show the header text.
Syntax
'Declaration
 
Public Property UseHeaderFormat As Boolean
'Usage
 
Dim instance As DropDownCalendar
Dim value As Boolean
 
instance.UseHeaderFormat = value
 
value = instance.UseHeaderFormat
public bool UseHeaderFormat {get; set;}

Property Value

true to use the HeaderFormat setting to show the header text; otherwise, false.
The default is false.
Remarks
This property determines whether to apply the HeaderFormat settings.
Example
This example uses the UseHeaderFormat 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