GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType Namespace > SubStyle Class > SubStyle Constructor : SubStyle Constructor(Color,Color,Boolean,Boolean) |
'Declaration Public Function New( _ ByVal backColor As Color, _ ByVal foreColor As Color, _ ByVal bold As Boolean, _ ByVal underLine As Boolean _ )
GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType gcDateTimeCell1 = new GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType(); gcDateTimeCell1.DropDownCalendar.SelectionStyle = new GrapeCity.Win.Spread.InputMan.CellType.SubStyle(Color.Azure, Color.DarkGreen, true, false); gcDateTimeCell1.DropDownCalendar.AllowSelection = GrapeCity.Win.Spread.InputMan.CellType.AllowSelection.Anyday; fpSpread1.Sheets[0].Cells[1, 1].CellType = gcDateTimeCell1;
Dim gcDateTimeCell1 As New GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType() gcDateTimeCell1.DropDownCalendar.SelectionStyle = New GrapeCity.Win.Spread.InputMan.CellType.SubStyle(Color.Azure, Color.DarkGreen, True, False) gcDateTimeCell1.DropDownCalendar.AllowSelection = GrapeCity.Win.Spread.InputMan.CellType.AllowSelection.Anyday FpSpread1.Sheets(0).Cells(1, 1).CellType = gcDateTimeCell1
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10