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


GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType Namespace > DropDownCalendar Class : TrailingStyle Property
Gets or sets the style of trailing dates.
Syntax
'Declaration
 
Public Property TrailingStyle As SubStyle
'Usage
 
Dim instance As DropDownCalendar
Dim value As SubStyle
 
instance.TrailingStyle = value
 
value = instance.TrailingStyle
public SubStyle TrailingStyle {get; set;}

Property Value

A SubStyle object that indicates the trailing style
Remarks
This property retrieves the display style of the trailing dates area.
Example
This example sets the TrailingStyle property.
GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType gcDateTimeCell1 = new GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType();
gcDateTimeCell1.DropDownCalendar.TrailingStyle = new GrapeCity.Win.Spread.InputMan.CellType.SubStyle(Color.LightSalmon, Color.Navy);
fpSpread1.Sheets[0].Cells[1, 1].CellType = gcDateTimeCell1;
Dim gcDateTimeCell1 As New GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType()
gcDateTimeCell1.DropDownCalendar.TrailingStyle = New GrapeCity.Win.Spread.InputMan.CellType.SubStyle(Color.LightSalmon, Color.Navy)
fpSpread1.Sheets(0).Cells(1, 1).CellType = gcDateTimeCell1
See Also

Reference

DropDownCalendar Class
DropDownCalendar Members