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


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

Property Value

A System.Windows.Forms.Padding value that indicates the inner margins of the drop-down calendar.
Remarks
This property determines the distance between every calendar view and it's header.
Example
This example sets the InnerMargins property.
GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType gcDateTimeCell1 = new GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType();
gcDateTimeCell1.DropDownCalendar.InnerMargins = new Padding(10);
fpSpread1.Sheets[0].Cells[1, 1].CellType = gcDateTimeCell1;
Dim gcDateTimeCell1 As New GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType()
gcDateTimeCell1.DropDownCalendar.InnerMargins = New Padding(10)
fpSpread1.Sheets(0).Cells(1, 1).CellType = gcDateTimeCell1
See Also

Reference

DropDownCalendar Class
DropDownCalendar Members