GrapeCity.Win.PluginInputMan アセンブリ > GrapeCity.Win.Spread.InputMan.CellType 名前空間 > GcDateTimeCellType クラス : MaxDate プロパティ |
'Declaration Public Property MaxDate As Date
'使用法 Dim instance As GcDateTimeCellType Dim value As Date instance.MaxDate = value value = instance.MaxDate
public DateTime MaxDate {get; set;}
例外 | 説明 |
---|---|
System.ArgumentOutOfRangeException | 値が GcDateTime.MinDate 未満です。 |
GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType datecell = new GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType(); datecell.MaxDate = new System.DateTime(9999, 12, 31); datecell.MinDate = DateTime.Now; datecell.MaxMinBehavior = GrapeCity.Win.Spread.InputMan.CellType.MaxMinBehavior.Clear; fpSpread1.Sheets[0].Cells[0, 0].CellType = datecell;
Dim datecell As New GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType() datecell.MaxDate = new System.DateTime(9999, 12, 31) datecell.MinDate = DateTime.Now datecell.MaxMinBehavior = GrapeCity.Win.Spread.InputMan.CellType.MaxMinBehavior.Clear FpSpread1.Sheets(0).Cells(0, 0).CellType = datecell