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


GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType Namespace > DropDownCalendar Class : InnerSpace Property
Gets or sets the inner space of the drop-down calendar.
Syntax
'Declaration
 
Public Property InnerSpace As Size
'Usage
 
Dim instance As DropDownCalendar
Dim value As Size
 
instance.InnerSpace = value
 
value = instance.InnerSpace
public Size InnerSpace {get; set;}

Property Value

A System.Drawing.Size value that indicates the inner space of the drop-down calendar.
Remarks
When the CalendarDimensions property displays more than one calendar, this property determines the distance between each calendar.
Example
This example sets space around the months in the calendar.
GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType gcDateTimeCell1 = new GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType();
gcDateTimeCell1.DropDownCalendar.CalendarType = GrapeCity.Win.Spread.InputMan.CellType.CalendarType.MonthDay;
gcDateTimeCell1.DropDownCalendar.FirstMonthInView = GrapeCity.Win.Spread.InputMan.CellType.Months.October;
gcDateTimeCell1.DropDownCalendar.CalendarDimensions = new Size(3, 4);
gcDateTimeCell1.DropDownCalendar.InnerSpace = new System.Drawing.Size(5, 5);
fpSpread1.Sheets[0].Cells[1, 1].CellType = gcDateTimeCell1;
Dim gcDateTimeCell1 As New GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType()
gcDateTimeCell1.DropDownCalendar.CalendarType = GrapeCity.Win.Spread.InputMan.CellType.CalendarType.MonthDay
gcDateTimeCell1.DropDownCalendar.FirstMonthInView = GrapeCity.Win.Spread.InputMan.CellType.Months.October
gcDateTimeCell1.DropDownCalendar.CalendarDimensions = New Size(3, 4)
gcDateTimeCell1.DropDownCalendar.InnerSpace = New System.Drawing.Size(5, 5)
fpSpread1.Sheets(0).Cells(1, 1).CellType = gcDateTimeCell1
See Also

Reference

DropDownCalendar Class
DropDownCalendar Members